zyablitsev / go-powtcp

implementation of “Word of Wisdom” tcp server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-powtcp (Proof of Concept)

Implementation of “Word of Wisdom” tcp server.

Notes

  • tcp server protected from ddos attacks with Proof of Work;
  • the challenge-response protocol is used;
  • sha-256 hash function is used, as it secure and modern algorithm proven in the bitcoin network;
  • after pow-verification server sends one of quotes from "word of wisdom" book.

Run in docker

  1. create config from example
~$ cp config.docker_example config
~$ vi config
  1. run build
~$ make build-amd64
  1. build docker-image
~$ make docker-build
  1. create docker network
~$ make docker-network
  1. run server
~$ make docker-server-run
  1. run client
~$ make docker-client-run

Testing

~$ make test

License

MIT

About

implementation of “Word of Wisdom” tcp server.

License:MIT License


Languages

Language:Go 88.2%Language:Makefile 11.6%Language:Dockerfile 0.2%