Skip to main content

DENY_PREFIX

Constant DENY_PREFIX 

pub const DENY_PREFIX: char = '!';
Expand description

Marks an entry as a deny rule rather than a grant.

Config::channel_external_peers emits !<name> for every ignore entry and applies none of them itself, because only the channel knows whether two spellings name the same account. Re-exported from the producing crate so the two halves of the contract cannot drift. Marks a resolved peer entry as a deny rule rather than a grant.

Defined here because channel_external_peers writes the marker; the channel allowlist re-exports this constant rather than spelling the character again, so producer and consumer cannot drift. No chat platform admits a username beginning with !, and an entry that did would be denied rather than granted, so the reservation fails closed.