Skip to main content

SESSION_MTU

Constant SESSION_MTU 

Source
pub const SESSION_MTU: usize = _; // 1_018usize
Expand description

Maximum user-data payload per HOPR session frame (bytes).

Use this when sizing buffers or computing how many session frames a given wxHOPR balance can fund (together with the on-chain ticket price). Number of bytes that can be sent in a single Session protocol payload.

In other words, this is the effective payload capacity of a single Session segment.