go-ethereum/consensus/XDPoS
wgr523 4453a1e257 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
2021-12-30 11:00:20 +11:00
..
engines add few comments in code 2021-12-21 08:47:23 +03:00
utils New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14) 2021-12-30 11:00:20 +11:00
api.go refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
XDPoS.go replace c to x in XDPos pakage 2021-10-17 11:37:55 +11:00
XDPoS_test.go add a simple test to verify DB is the same across different engine versions 2021-10-16 13:22:48 +11:00