go-ethereum/consensus
Liam a1b77f3ca8 Implement BFT Message receiver (#13)
* fix or skip tests due to PR-136 changes

* add bft receiver functions

* add bft receiver functions

* rename tc to TimeoutCert

* implement more functions

* New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14)

* define vote, timeout, sync info, qc, tc, extra fields in types.go, add test in types_test.go

* add json tag in types.go, refine encoder decoder of extra fields

* refactor types.go utils.go

* re-write types, comments

* add Hash SigHash for types, and tests

* define Round type

* remove unnecessary logs

* add temp functions

* add v2 engine functions placeholder

* typo fix on the consensus v2 function placeholders

* add countdown timer

* make initilised private to countdown

* push verify function

* add test on receiving vote

* revert type change

* add async on broadcast function

* add quit initial

* fix test

Co-authored-by: Jianrong <wjrjerome@gmail.com>
Co-authored-by: wgr523 <wgr523@gmail.com>
2021-12-30 11:00:20 +11:00
..
clique new EVM Upgrade 2021-09-21 16:53:46 +05:30
ethash new EVM Upgrade 2021-09-21 16:53:46 +05:30
misc new EVM Upgrade 2021-09-21 16:53:46 +05:30
XDPoS Implement BFT Message receiver (#13) 2021-12-30 11:00:20 +11:00
consensus.go add a simple test to verify DB is the same across different engine versions 2021-10-16 13:22:48 +11:00
errors.go ignore faster with block no validator m2 2018-11-12 15:41:24 +05:30