Skip to main content

MAX_REMOTE_CONTEXTS

Constant MAX_REMOTE_CONTEXTS 

Source
pub const MAX_REMOTE_CONTEXTS: usize = 64;
Expand description

Maximum depth of the remote context chain.

The context processing algorithm mandates a processor-defined limit on the number of entries in the remote contexts array; exceeding it is a context overflow error. This bounds the damage a hostile loader can do by serving an endless chain of distinct context IRIs.