I want to implement the tendermint consensus algorithm in python. It will consist of 2…
Jump to turn (10)
- 1I want to implement the tendermint consensus algorithm in python. It will consis
- 2Complete the broadcast function, knowing that it is all running localy.
- 3That works, but we don't want to access the other nodes objects for security rea
- 4Nice, however, it stops after all the nodes receive the proposal? Here is the tr
- 5Right now the only way for a node to progress into prevote is being timeout? Thi
- 6You seem to have a little mixup in the node code. A "vote" does not exist, only
- 7You are saying " if prevotescount > 2" that is checking if you got 2 prevotes on
- 8You can't do numnodes = len(self.nodes) since you don't have a list of all nodes
- 9Right now it seems that each node is prevoting the right thing (ValueProposal0)
- 10The problem is still there.
- User
I want to implement the tendermint consensus algorithm in python. It will consist of 2 files, one named node.py contatining the code which will be run on every node, only constituted of three functions which are: whenStarting, whenReceiving and whenTimeout. The other file is simulator.py and will enable us to run the tendermint consensus algorithm from the nodes. Write the codes for both of these files.
- Assistant