PrevUpHomeNext

RCLValidationsAdaptor::Ledger

Synopsis
using Ledger = RCLValidatedLedger;

RCLValidationsAdaptor::Ledger

ripple::RCLValidatedLedger

ripple__RCLValidatedLedger

Types

Name

Description

ID

Seq

Member Functions

Name

Description

RCLValidatedLedger

id

The ID (hash) of the ledger.

minSeq

operator[]

Lookup the ID of the ancestor ledger.

seq

The sequence (index) of the ledger.

Friends

Name

Description

mismatch

Find the sequence number of the earliest mismatching ancestor.

The LedgerTrie models a ledger's history as a map from Seq -> ID. Any two ledgers that have the same ID for a given Seq have the same ID for all earlier sequences (e.g. shared ancestry). In practice, a ledger only conveniently has the prior 256 ancestor hashes available. For RCLValidatedLedger, we treat any ledgers separated by more than 256 Seq as distinct.

Description
Header

#include <ripple/app/consensus/RCLValidations.h>


PrevUpHomeNext