Skip to main content

MAX_DEPRECATION_HOPS

Constant MAX_DEPRECATION_HOPS 

Source
pub const MAX_DEPRECATION_HOPS: usize = 10;
Expand description

Upper bound on successor-chain walks. Chains longer than this (unusual in practice; indicates either a legitimate very-long deprecation history or an accidental cycle) are truncated and surface as ChainEvent::MaxHopsExceeded.