Skip to main content

Module quorum

Module quorum 

Source
Expand description

Quorum check over the archive: whether each ledger in a range is confirmed by the validators the policy trusts.

Everything comes from the archive and is checked again; the node is not trusted for anything:

  • UNL lists are the publishers’ raw responses, and their signatures are checked with the publisher keys from the policy (by default, the keys from xrpld’s default configuration);
  • when a list was in effect comes from the collector’s poll log: a list applies to ledgers after the moment we first saw it;
  • which validator is whose comes from verified manifests, both from the lists and from the node;
  • every validation signature is checked.

If we did not observe the policy as of the ledger (the list was seen later), the result is flagged: the check then uses the list we know, not the one that was certainly in effect.

Structs§

QuorumArgs

Constants§

DEFAULT_PUBLISHERS
Publisher keys from xrpld’s default [validator_list_keys]: vl.ripple.com and unl.xrplf.org.

Functions§

load_lists
Lists from the collector archive; the validator manifests from them go into manifests.
load_negative_unl 🔒
Negative UNL per flag ledger, from the archiver’s log. An “object not found” answer means an empty list; other errors are skipped, since we know nothing about such a flag ledger.
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.
run

Type Aliases§

Res 🔒