PrevUpHomeNext

RCLCxLedger

Represents a ledger in RCLConsensus.

Synopsis
class RCLCxLedger
Types

Name

Description

ID

Unique identifier of a ledger.

Member Functions

Name

Description

RCLCxLedger

Default constructor.

Constructor.

closeAgree

Whether consensus process agreed on close time of the ledger.

closeTime

The close time of this ledger.

closeTimeResolution

Resolution used when calculating this ledger's close time.

getJson

JSON representation of this ledger.

id

Unique identifier (hash) of this ledger.

parentCloseTime

The close time of this ledger's parent.

parentID

Unique identifier (hash) of this ledger's parent.

seq

Sequence number of the ledger.

Data Members

Name

Description

ledger_

The ledger instance.

Description

RCLCxLedger is a thin wrapper over std::shared_ptr<Ledger const>.

Header

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


PrevUpHomeNext