- Protocol
-
On Open
- Initial Node
- Setup a Blockchain with only Gensis Block
- New Node
- Enter the (address, port)s of other Nodes.
- Try to send your port to them
- Get the blockchain from all the nodes.
- Try to get one instance of the blockchain that is agreed by more than 50 % of the Nodes
- Initial Node
-
On Close
- Try to save it in a file
-