pub const HARD_DEPTH_CAP: u64 = 1024;Expand description
Hard ceiling on the validation recursion, applied regardless of config.
Decoded values are bounded by the decoder’s own limit (128 by default, configurable), so anything deeper must be a hand-constructed tree. The walk must never recurse without bound on such a tree: this is the termination guarantee. 1024 frames are well within the stack.