go-ethereum/consensus/XDPoS/engines/engine_v1
wgr523 cd74061ac2
Extend masternode candidate (#261)
* V2 truncate MaxMasternodes from candidates after penalty,
V1 same as before

TestUpdateMultipleMasterNodes: test V2, in snapshot we have all candidates, but at epoch switch, we pick MaxMasternodes

* code looks better
2023-05-16 21:43:56 +08:00
..
engine.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00
snapshot.go Xin 113 is epoch switch (#37) 2022-01-14 21:38:38 +11:00
utils.go Xin 113 is epoch switch (#37) 2022-01-14 21:38:38 +11:00
utils_test.go Xin 113 is epoch switch (#37) 2022-01-14 21:38:38 +11:00