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.

21 lines
237 B

  1. # Peer
  2. To run as a normal peer:
  3. ```
  4. ./peer
  5. ```
  6. To run as a p2p server:
  7. ```
  8. ./peer server
  9. ```
  10. Needs the config.json file:
  11. ```json
  12. {
  13. "ip": "127.0.0.1",
  14. "port": "3001",
  15. "serverip": "127.0.0.1",
  16. "serverport": "3000"
  17. }
  18. ```