pub struct Report {Show 26 fields
pub ledger_index: u32,
pub confirmed_hash: Option<String>,
pub matches_claim: bool,
pub unl_size: usize,
pub effective_size: usize,
pub quorum: usize,
pub signers: usize,
pub policy_differs: bool,
pub policy_observed_after: bool,
pub rule: &'static str,
pub policy_window: Option<(u32, u32)>,
pub missing_publishers: Vec<String>,
pub policies: Vec<PolicyUsed>,
pub negative_unl: Vec<String>,
pub with_claimed_negative_unl: Option<ClaimedNegativeUnl>,
pub not_seen: Vec<String>,
pub conflicting: Vec<String>,
pub unattributed: usize,
pub untrusted_publishers: Vec<String>,
pub problems: Vec<String>,
pub transactions: Vec<TxCheck>,
pub chain_ok: bool,
pub target_ledger: Option<u32>,
pub target_hash: Option<String>,
pub objects: Vec<ObjectCheck>,
pub skip_hops: usize,
}Expand description
The result of verifying a bundle.
Fields§
§ledger_index: u32§confirmed_hash: Option<String>The hash that reached quorum under the verifier’s policy.
matches_claim: boolWhether it matches the one claimed in the bundle.
unl_size: usize§effective_size: usize§quorum: usize§signers: usize§policy_differs: boolThe bundle’s policy differs from the verifier’s.
policy_observed_after: boolThe bundle builder saw the lists later than the ledger’s first validation.
rule: &'static strThe rule used to compute the quorum. Currently always full-unl: 80% of
the whole UNL, Negative UNL not applied, since the bundle has no proof of
its inclusion in the flag ledger state. This is our own policy, not a
reproduction of the historical xrpld quorum.
policy_window: Option<(u32, u32)>The time window used to pick lists: from the earliest to the latest signing time of full votes for the hash from known validators, seconds since the XRPL epoch.
missing_publishers: Vec<String>Configured publishers with no list in effect in the window. If not empty, the policy is incomplete and there is no confirmation.
policies: Vec<PolicyUsed>Every policy that could have been in effect in the window, and the result for each.
The report’s confirmed_hash is set only if they all agree and the policy is complete.
negative_unl: Vec<String>The Negative UNL claimed by the bundle: the builder’s word only, not part of the verdict.
with_claimed_negative_unl: Option<ClaimedNegativeUnl>What the result would be with the claimed Negative UNL, for diagnostics only.
not_seen: Vec<String>§conflicting: Vec<String>§unattributed: usize§untrusted_publishers: Vec<String>Responses from publishers the verifier does not trust: not counted toward quorum.
problems: Vec<String>What in the bundle failed checks: signatures, sequences, formats.
transactions: Vec<TxCheck>Per transaction in the bundle (version 2).
chain_ok: boolThe header chain checks out (or there is none).
target_ledger: Option<u32>The bundle’s target ledger: the first header of the last skip hop, the first in the chain, otherwise the confirmed one.
target_hash: Option<String>§objects: Vec<ObjectCheck>Per state object in the bundle (version 3).
skip_hops: usizeSkip hops that check out (version 4); with chain_ok, all of them did.