Skip to main content

MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: usize = 100;
Expand description

How deep a value may nest before it is refused.

Records nest a handful of levels — an embed inside a post, images inside the embed — and a Merkle search tree node nests two. A hundred is far past anything the protocol produces and far below the depth that would trouble the stack.