Skip to main content

MAX_PAYLOAD_SIZE

Constant MAX_PAYLOAD_SIZE 

Source
pub const MAX_PAYLOAD_SIZE: usize = _ /* 16_777_216usize */;
Available on crate feature network only.
Expand description

MAX_PAYLOAD_SIZE is the default maximum size of an uncompressed message payload. This is defined in EIP-706.

See UnauthedP2PStream::with_max_payload_size to use a different limit.