go-ethereum/consensus/XDPoS
Liam 92857e50e5
xin-177 check penalty only on epoch switch block and Add Hook on initial (#78)
* check penalty only on epoch switch block

* skip calculate penalty on first v2 block

* clean code, its doing same thing
2022-04-02 22:59:39 -06:00
..
engines xin-177 check penalty only on epoch switch block and Add Hook on initial (#78) 2022-04-02 22:59:39 -06:00
utils add highestSelfMinedRound to make sure we mine once per round (#79) 2022-04-03 12:45:25 +10:00
api.go refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
XDPoS.go Xin 147 initial for both first v2 block and further, also introduce getExtraField function (#64) 2022-03-08 20:34:11 +01: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