go-ethereum/consensus/XDPoS/engines/engine_v2
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
..
difficulty.go Xin 166 (#75) 2022-03-27 20:39:40 +11:00
engine.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00
epochSwitch.go Fix API penalty bug and add more info in api (#262) 2023-05-16 21:23:02 +10:00
forensics.go Xin-200 Vote Equivocation (#111) (#172) 2022-08-13 11:50:56 +05:30
forensics_test.go forensics shall send unique id (#106) 2022-07-05 00:31:09 +02:00
mining.go Xin 231 sync issues - too far messages should omit and skip to process (#177) 2022-09-05 10:38:45 +08:00
snapshot.go verify header including validator (#71) 2022-03-20 21:14:35 +11:00
snapshot_test.go Xin 147 initial for both first v2 block and further, also introduce getExtraField function (#64) 2022-03-08 20:34:11 +01:00
testing_utils.go allow forensics send msg to stats server (#95) 2022-05-25 19:42:30 +10:00
timeout.go API: getMasternode and getPoolStatus (#258) 2023-05-01 23:01:39 +10:00
utils.go Fix API penalty bug and add more info in api (#262) 2023-05-16 21:23:02 +10:00
verifyHeader.go Fix issue when resync is not getting the right consensus config values (#221) 2023-01-17 21:34:42 +08:00
vote.go API: getMasternode and getPoolStatus (#258) 2023-05-01 23:01:39 +10:00