go-ethereum/consensus/XDPoS
wgr523 537dc5e6fb
Exp timeout (#764)
* feat: write duration calculation in countdown as
interface. add more inputs as function argument

* feat: ExpTimeoutDuration

* fix: three dots usage

* feat: refine exp duration

* feat: add exp timeout config and use it in countdown

* feat: remove const countdown

* feat: remove use of interface in countdown, use error

* fix: countdown reset timer problem

* fix: add default ExpTimeoutConfig for config
2025-01-19 23:04:03 +08:00
..
engines Exp timeout (#764) 2025-01-19 23:04:03 +08:00
utils common/prque: generic priority queue (#26290) 2024-12-28 09:06:31 +08:00
api.go cherry pick epoch api from dev-upgrade (#699) 2024-10-29 01:36:22 -07: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 all: remove uses of untyped golang-lru 2024-12-21 14:39:26 +08:00
XDPoS_test.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00