Skip to main content

INTRO1_TARGET_LEN

Constant INTRO1_TARGET_LEN 

Source
const INTRO1_TARGET_LEN: usize = 490;
Expand description

Default target length for our generated Introduce1 messages.

This value is chosen to be the maximum size of a single-cell message after proposal 340 is implemented. (509 bytes for cell data, minus 16 bytes for relay encryption overhead, minus 1 byte for relay command, minus 2 bytes for relay message length.)