go-ethereum/consensus/XDPoS/engines/engine_v2
Jerome c710bd98a5
Xin-200 Vote Equivocation (#111) (#172)
* Xin-200 Vote Equivocation (#111)

* add vote same round detection

add test for vote same round detect

finish process equivocate (not finish report)

* finish vote equivocation report, refactor code (vote -> forensics)

* finish process equivocate and report, and test

* add return err

Co-authored-by: wgr523 <wgr523@gmail.com>
2022-08-13 11:50:56 +05:30
..
difficulty.go Xin 166 (#75) 2022-03-27 20:39:40 +11:00
engine.go Add API to get latest committed blockInfo, also send it via 'block' message type to stats server (#113) 2022-07-16 16:14:36 +10:00
epochSwitch.go upgrade log level and log message (#102) 2022-06-19 10:59:09 +02: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 upgrade log level and log message (#102) 2022-06-19 10:59:09 +02: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 upgrade log level and log message (#102) 2022-06-19 10:59:09 +02:00
utils.go move XDC consensus types into core (#93) 2022-05-22 11:43:25 +10:00
verifyHeader.go add initial in verifyheader (#112) 2022-07-11 17:32:22 +02:00
vote.go Xin-200 Vote Equivocation (#111) (#172) 2022-08-13 11:50:56 +05:30