Skip to main content

Module contact

Module contact 

Source
Expand description

Protected contact states and reserved help (NET-05.17 / NET-05.20).

Request → Consent → Active. Request cannot skip Consent. Blocked and Suspended deny even when a current grant would Allow and the peer paid. Mandate revoke uses the current generation, then Blocked. Two help slots stay independent of the 16 contact slots. Packages remain open.

Structs§

ContactSlot
One protected-person contact. paid is observational only.
ContactTable
Sixteen contact slots plus two reserved help/revocation slots.

Constants§

CONTACT_SLOTS
Occupied contact slots. A 17th distinct peer is QdnfError::Capacity.
REVOKED_HELP_SLOTS
Revocation / help capacity. Bulk contact fill must not consume these.

Functions§

admit_contact
Admit service for a contact using the current operation-specific grant.
admit_help
Reserved help/revocation admit. Independent of the 16 contact slots. Does not grant private-message consent.
admit_path
Intermediary path: any Blocked or Suspended hop is Denied. A later hop cannot authorize the path by paying.
group_membership_is_private_consent
Group membership is not private-message consent (NET-05.19 claim only).
payment_bypasses_block
Payment never unblocks, unsuspends, or un-revokes.
revoke_mandate
Guardian / organizational mandate revoke. Stale generation is unchanged. Current generation sets Blocked (guardian revoke) and marks revoked.