go-ethereum/consensus/XDPoS/engines/engine_v2
wgr523 71b9005f34
feat: add api xdpos_getBlockInfoByEpochNum (#674)
* feat: add api xdpos_getBlockInfoByEpochNum

* feat: add cache round2epochBlockInfo

* fix: round2epochBlockInfo contains round now

* feat: binary search in GetBlockByEpochNumber

* fix: change some code back, refine style
2024-10-28 00:14:30 -07:00
..
difficulty.go Xin 166 (#75) 2022-03-27 20:39:40 +11:00
engine.go feat: add api xdpos_getBlockInfoByEpochNum (#674) 2024-10-28 00:14:30 -07:00
epochSwitch.go feat: add api xdpos_getBlockInfoByEpochNum (#674) 2024-10-28 00:14:30 -07:00
forensics.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00
forensics_test.go all: fix staticcheck warning SA1006 2024-10-28 15:13:21 +08:00
mining.go lower log level for pretty log (#420) 2024-02-11 20:27:37 +11:00
snapshot.go XDCx,XDCxlending,consensus,core: not compare adresss by String 2024-06-06 19:33:39 +08:00
snapshot_test.go PPX-01 rename NextEpochMasterNodes to NextEpochCandidates (#510) 2024-03-31 07:27:13 +11:00
testing_utils.go allow forensics send msg to stats server (#95) 2022-05-25 19:42:30 +10:00
timeout.go all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
utils.go feat: add api xdpos_getBlockInfoByEpochNum (#674) 2024-10-28 00:14:30 -07:00
verifyHeader.go drop peer if received bad block data which does not include the validator field (#494) 2024-03-23 09:18:21 +11:00
vote.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00