go-ethereum/consensus/XDPoS
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
..
engines Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00
utils API: getMasternode and getPoolStatus (#258) 2023-05-01 23:01:39 +10:00
api.go Fix API penalty bug and add more info in api (#262) 2023-05-16 21:23:02 +10:00
api_test.go Fix API penalty bug and add more info in api (#262) 2023-05-16 21:23:02 +10:00
XDPoS.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00
XDPoS_test.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00