go-ethereum/consensus
Jerome f8d3f9f8c6
Xin 113 is epoch switch (#37)
* add isEpochSwitch function and refactor utils

* fix broken first v2 epoch switch block

* use adaptor epoch switch function to determine v1 v2 epoch swtich block

* add test for the GetMasternodesByNumber and GetCurrentEpochSwitchBlock function

* add v2 test for isAuthroisedAddress

* Use GetCurrentEpochSwitchBlock in findNearestSignedBlock api
2022-01-14 21:38:38 +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
tests Xin 113 is epoch switch (#37) 2022-01-14 21:38:38 +11:00
XDPoS Xin 113 is epoch switch (#37) 2022-01-14 21:38:38 +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 v2 miner function implementation and happy path (#22) 2021-12-30 11:45:18 +11:00