Skip to main content

PUNCH_MAGIC

Constant PUNCH_MAGIC 

Source
pub const PUNCH_MAGIC: u32 = 0x4E505443;
Expand description

Punch-probe magic (“NPTC”, network byte order). First byte 0x4E collides with FMP’s prefix-version high-nibble check, so the UDP transport silently filters packets carrying this magic to keep post-adoption handshake logs clean. Defined at the top-level discovery module so the UDP filter and the nostr submodule’s punch sender share the same constant.