Skip to main content

SIGNATURE_WIRE_BYTES

Constant SIGNATURE_WIRE_BYTES 

Source
pub const SIGNATURE_WIRE_BYTES: usize = 1642;
Expand description

Self-standing signature wire length, with no transport padding.

64 (commitment) + 64 (Ed25519) + 2 (index) + 32 + 16 + 16 (public key hash, public salt, message salt) + 7 × 32 (Merkle path) + 68 × 18 (chain nodes) = 1,642 bytes. The hardware pads each one to a 2 KiB frame slot in HBM; this constant is the unpadded length.