To run as a normal peer:
./peer
To run as a p2p server:
./peer server
Needs the config.json file:
{ "ip": "127.0.0.1", "port": "3001", "serverip": "127.0.0.1", "serverport": "3000" }