Skip to main content

Module query

Module query 

Source
Expand description

Bounded QSR query pipeline (NET-04 partial).

Caps are remaining work, not a coverage proof. Authenticated exact lookup goes through snapshot lookup / lookup_into and returns QsrOutcome. Compact hashes and sameAs are not authority. This is not Kademlia.

Structs§

QueryBudget
Remaining lookup budget. initial loads the MAX_* remaining slots. Continuations must not refill these fields (NET-04.22).

Constants§

MAX_CANDIDATES
MAX_CONNECTION_RACES
MAX_RETURNED_ROUTES
MAX_VERIFICATIONS

Functions§

compact_hash_is_routing_authority
Short QHashIndex values are lookup aids only (NET-04.02).
continuation_resets_budget
Epochs, retries, branches and continuations cannot reset work or byte caps.
lookup_with_budget
Exact lookup against a generation-pinned snapshot. Cover membership alone is not existence; the snapshot walk compares the full 48-byte key.
provider_silence_outcome
Provider silence is unavailable/unknown, never an allow (NET-04.08).
same_as_merges_people
Alias / sameAs classifiers cannot merge people (NET-04.03).
unsupported_policy_is_allow
Unsupported or incomplete policy cannot become allow (NET-04.12).