Skip to main content

Module unlstore

Module unlstore 

Source
Expand description

The UNL archive written by the witness-unl collector: verified lists and choosing the policy as of a given ledger.

Directory layout: one subdirectory per publisher with raw responses, plus observations.jsonl, the poll log: when each response (by body hash) was first seen. Responses are re-verified on every load: the publisher’s signature and its manifest, against the verifier’s pinned keys.

Structs§

Seen
A verified list, the publisher response it came from, and when we first saw that response.

Functions§

load_lists
Lists from the collector archive; the validator manifests from them go into manifests.
policy_at
The policy as of at_ms: for each publisher, the list with the highest sequence among those seen by that time. If none had been seen by then, the earliest one seen, flagged as such.