Skip to main content

Module nunl

Module nunl 

Source
Expand description

Negative UNL per flag ledger.

The list of validators disabled by the network changes only in flag ledgers (every 256). On each new flag ledger the archiver asks its node for the NegativeUNL object in binary form and writes the response as a line in negative_unl/observations.jsonl, as is, including “object not found”: an empty list is evidence too.

For now this is on the node’s word: proving that the object is in the state tree of the confirmed ledger is the job of inclusion proofs.

Structs§

Watch

Constants§

ID_PREFIX 🔒
The Negative UNL request id is a string containing the flag ledger. A number does not work: the xrpld JSON parser rejects integers wider than 32 bits and answers jsonInvalid without the request id (checked on 2026-10-24). A string is returned as is, and it cannot be confused with the numeric manifest request ids.
SETTLE 🔒
Ask not right away, but once the flag ledger is surely validated.