Aareon / ChickenTicket

Pure Python implementation of a cryptocurrency blockchain
MIT License
15 stars 2 forks source link

Add Peers and Nodes #7

Open Aareon opened 6 years ago

Aareon commented 6 years ago

Using websockets, add handling of peers and nodes. More information will be added later.

Aareon commented 2 years ago

Netcode found in network.py and node.py

Aareon commented 2 years ago

Currently working on HTTPNode because I suck at async and sockets

Aareon commented 2 years ago

Blocks can now be transmitted via HTTPNode. An example of usage can be found in simplegui.py. A new method/route is needed to broadcast new blocks/transactions after a client has synced.

A synced message would help denote peers that are ready to receive new blocks/transactions.