Skip to main content

MAX_MESSAGE_BYTES

Constant MAX_MESSAGE_BYTES 

Source
pub const MAX_MESSAGE_BYTES: usize = _; // 1_047_552usize
Expand description

The most bytes one send accepts: the relay’s per-message envelope limit less room for the envelope’s own header and the ciphertext’s overhead. Larger is refused as ErrorKind::InvalidArgument before any ratchet step, on every head.