Constant zebra_state::constants::MAX_LEGACY_CHAIN_BLOCKS

source ·
pub const MAX_LEGACY_CHAIN_BLOCKS: usize = 100_000;
Expand description

The maximum number of blocks to check for NU5 transactions, before we assume we are on a pre-NU5 legacy chain.

Zebra usually only has to check back a few blocks on mainnet, but on testnet it can be a long time between v5 transactions.