go-ethereum/consensus/XDPoS/engines/engine_v2
Daniel Liu 84ac794e22
consensus: fix missing block header error in vote verification, fix #1850 (#1891)
Previously, vote verification would log errors and fail when the referenced block header was not yet available locally, especially when nodes in the same round processed votes before receiving the block header. This commit changes the logic to defer verification and log at debug level if the header is missing, preventing unnecessary error logs and aligning with upstream geth behavior for out-of-order message arrival during consensus voting.
2026-01-05 15:40:49 +05:30
..
difficulty.go Xin 166 (#75) 2022-03-27 20:39:40 +11:00
engine.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
epochSwitch.go consensus: fix unused warnings (#1815) 2025-12-08 12:57:14 +05:30
forensics.go consensus: fix unused warnings (#1815) 2025-12-08 12:57:14 +05:30
forensics_test.go consensus: fix unused warnings (#1815) 2025-12-08 12:57:14 +05:30
mining.go all: use 0x-prefix for Address type in log (#1830) 2025-12-07 15:36:36 +05:30
snapshot.go consensus/XDPoS, core/rawdb: stop node if fail to store snapshot (#1803) 2025-12-08 15:07:22 +05:30
snapshot_test.go all: use T.TempDir to create temporary test directories (#24633) 2025-01-24 16:54:08 +08:00
syncInfo.go consensus: verify timeout from epochInfo instead of snap.NextEpochCandidates, close XFN-62 (#1628) 2025-12-06 15:05:49 +05:30
testing_utils.go XDPoS/utils: get pool size by key, close XFN-21 (#1666) 2025-11-14 16:29:58 +05:30
timeout.go consensus: verify timeout from epochInfo instead of snap.NextEpochCandidates, close XFN-62 (#1628) 2025-12-06 15:05:49 +05:30
utils.go all: handle err from func rlp.Encode, close XFN-127 (#1692) 2025-11-03 12:45:19 +05:30
verifyHeader.go all: fix unnecessary whitespace (#1800) 2025-12-08 15:07:11 +05:30
vote.go consensus: fix missing block header error in vote verification, fix #1850 (#1891) 2026-01-05 15:40:49 +05:30
vote_test.go consensus: fix missing block header error in vote verification, fix #1850 (#1891) 2026-01-05 15:40:49 +05:30