Skip to main content

MAX_OP_RECORD_BYTES

Constant MAX_OP_RECORD_BYTES 

Source
pub const MAX_OP_RECORD_BYTES: usize = _; // 65_536usize
Expand description

The largest record FfiSession::apply_lifecycle_op decodes. A lifecycle record is one signed manifest with its chain position, a few kilobytes even under hybrid signatures; this leaves an order of magnitude of room and refuses anything that could only be an attack on the decoder.