go-ethereum/consensus
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
..
clique core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
ethash core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
misc core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
tests all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
XDPoS consensus: fix missing block header error in vote verification, fix #1850 (#1891) 2026-01-05 15:40:49 +05:30
consensus.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
errors.go all: fix staticcheck warning ST1005: incorrectly formatted error string 2024-10-24 09:48:20 +08:00