go-ethereum/consensus/XDPoS
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
..
engines Xin-200 Vote Equivocation (#111) (#172) 2022-08-13 11:50:56 +05:30
utils Xin-200 Vote Equivocation (#111) (#172) 2022-08-13 11:50:56 +05:30
api.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
XDPoS.go xin-203 fix wrong config hash and update v2 params on mainnet (#109) 2022-07-12 16:56:55 +02: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