Skip to main content

MAX_CHAIN_LEN

Constant MAX_CHAIN_LEN 

Source
pub const MAX_CHAIN_LEN: usize = _; // 256usize
Expand description

Longest decodable chain. ResolvedFilterPass::wire_index is a u8, so only entry indices 0..=u8::MAX are addressable; a longer chain is nonsense input and degrades whole-value like any other malformed chain.