go-ethereum/consensus/XDPoS/utils
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
..
constants.go refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
errors.go refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
types.go New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14) 2021-12-30 11:00:20 +11:00
utils.go New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14) 2021-12-30 11:00:20 +11:00
utils_test.go New struct in consensus/XDPoS/utils/types.go, util functions, and test. (#14) 2021-12-30 11:00:20 +11:00