Skip to main content

MAX_NOSTR_EVENT_JSON_BYTES

Constant MAX_NOSTR_EVENT_JSON_BYTES 

Source
pub const MAX_NOSTR_EVENT_JSON_BYTES: usize = _; // 524_288usize
Expand description

Maximum standalone NIP-01 event JSON accepted by the portable boundary.

This matches Softrelay’s current complete relay-message bound. Native transports should reject oversized frames before invoking this parser.