Browse Source

Add readme section for decentralization

now.sh
garritfra 5 years ago
parent
commit
60e5a11b2e
  1. 10
      README.md

10
README.md

@ -43,4 +43,12 @@ The REST API currently exposes these Endpoints:
| GET | /mine_block | Mine a block with all pending transactions |
| GET | /is_valid | Check, if the chain has any faulty blocks |
Refer to the [wiki](https://github.com/garritfra/blockchain-project/wiki) to get more information about the REST API
## Decentralizing your Blockchain (Currently under development)
Use the following endpoints to connect multiple nodes together
| Method | Route | Description |
| :----- | :-------- | :------------------------------------------------ |
| POST | /add_peer | Add a new peer address to the network |
| GET | /update | Compare chain with peers, and update if nessesary |
Loading…
Cancel
Save