go-ethereum/consensus
wgr523 c36e4d54c0
Upgrade reward 2.0 (#865)
* refactor: reward hook gets prepared for upgrade

* feat: new reward hook, config change, unit tests

* add missing code

* feat: filter penalty in reward. add unit test

* update constant and config

---------

Co-authored-by: liam.lai <liam.lai@us>
2025-03-02 02:44:34 -08:00
..
clique params: remove EIP150Hash from chainconfig (#27087) 2025-02-05 18:16:17 +08:00
ethash params: remove EIP150Hash from chainconfig (#27087) 2025-02-05 18:16:17 +08:00
misc params: remove EIP150Hash from chainconfig (#27087) 2025-02-05 18:16:17 +08:00
tests Upgrade reward 2.0 (#865) 2025-03-02 02:44:34 -08:00
XDPoS common: change type of variables for constants 2025-02-17 11:38:16 +08:00
consensus.go add a simple test to verify DB is the same across different engine versions 2021-10-16 13:22:48 +11:00
errors.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00