pub fn admit_contact(
table: &ContactTable,
peer: StrongDigest,
purpose: StrongDigest,
paid: bool,
now: u64,
grant: &TemporalGrant,
) -> Result<(), QdnfError>Expand description
Admit service for a contact using the current operation-specific grant.
paid is ignored for Blocked, Suspended, and Revoked. Purpose on the
grant must match purpose and the stored slot purpose.