Skip to main content

MAX_DECOMPRESSED_BYTES

Constant MAX_DECOMPRESSED_BYTES 

Source
pub const MAX_DECOMPRESSED_BYTES: usize = _; // 16_777_216usize
Expand description

Hard cap on the decompressed size of a single offloaded blob. Same 16 MiB ceiling the transcripts module enforces — defends against pathological zstd bombs landing through deref. v0.8.0 may raise this for the Mermaid-canvas use case after threat-modelling.