Skip to main content

is_known_kind

Function is_known_kind 

Source
pub fn is_known_kind(kind: u32) -> bool
Expand description

Is kind known to THIS binary? Used by P0.1 to refuse silent cursor advance past events from a future protocol version.

The Nostr-compat special cases (kind=1, kind=100) are handled in signing::kind_class; this function mirrors them.