You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
arnaucode 2a01ef0394 implemented peersList propagation, each peer connects with each other 7 years ago
..
README.md peers connection working 7 years ago
config.json implemented peersList propagation, each peer connects with each other 7 years ago
connections.go implemented peersList propagation, each peer connects with each other 7 years ago
errors.go implemented peers communication to send the peersList 7 years ago
log.go peers connection working 7 years ago
main.go implemented peersList propagation, each peer connects with each other 7 years ago
messages.go implemented peersList propagation, each peer connects with each other 7 years ago
peer peers connection working 7 years ago
peersList.go implemented peersList propagation, each peer connects with each other 7 years ago
readConfig.go added REST server to peer, implementing peersList propagation 7 years ago
restServer.go added REST server to peer, implementing peersList propagation 7 years ago
restServerConfig.go added REST server to peer, implementing peersList propagation 7 years ago
restServerRoutes.go added REST server to peer, implementing peersList propagation 7 years ago
utils.go implemented peers communication to send the peersList 7 years ago

README.md

Peer

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"
}