go-ethereum/consensus/XDPoS
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
..
engines consensus: fix missing block header error in vote verification, fix #1850 (#1891) 2026-01-05 15:40:49 +05:30
utils all: remove mongodb support in XDCx (#1679) 2025-11-15 16:50:02 +05:30
api.go core, consensus: use slice.Clip capacity to Simplify code (#1892) 2026-01-05 12:16:20 +05:30
api_test.go all: fix whitespace (#1572) 2025-09-24 07:58:40 +08:00
XDPoS.go all: use 0x-prefix string for type Address in log message (#1874) 2025-12-19 08:55:21 +04:00
XDPoS_test.go Extend masternode candidate (#261) 2023-05-16 21:43:56 +08:00