Skip to main content

MAX_CALL_TREE_DEPTH

Constant MAX_CALL_TREE_DEPTH 

Source
pub const MAX_CALL_TREE_DEPTH: usize = 4096; // 4_096usize
Expand description

Maximum nesting depth of a call tree. Far above real instrumented call depth, so it only rejects malformed or hostile blocks, which a few bytes per unmatched begin event can make arbitrarily deep.