Skip to main content

MAX_BLOCK_REORG_HEIGHT

Constant MAX_BLOCK_REORG_HEIGHT 

Source
pub const MAX_BLOCK_REORG_HEIGHT: u32 = 1000;
Expand description

The maximum chain reorganisation height.

This threshold determines the maximum length of the best non-finalized chain. Once the chain grows past this height, Zebra finalizes its oldest blocks; deeper reorganisations are outside Zebra’s rollback window.

This is a local-only node policy; it is not part of consensus. The window is sized as a defence-in-depth measure against sustained consensus splits.