Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::model::LedgerData Struct Reference

Represents an entire ledger diff worth of transactions and objects. More...

#include <Models.hpp>

Public Member Functions

bool operator== (LedgerData const &other) const
 Compares LedgerData objects to each other without considering the header field.

Public Attributes

std::vector< Transaction > transactions
 Transactions in the ledger.
std::vector< Object > objects
 Objects changed by the ledger.
std::optional< std::vector< BookSuccessor > > successors
 Book successors, if provided.
std::optional< std::vector< std::string > > edgeKeys
 Last key of each initial load range.
xrpl::LedgerHeader header
 Deserialized ledger header.
std::string rawHeader
 Serialized ledger header.
uint32_t seq
 Sequence of the ledger.

Detailed Description

Represents an entire ledger diff worth of transactions and objects.

Member Function Documentation

◆ operator==()

bool etl::model::LedgerData::operator== ( LedgerData const & other) const
inline

Compares LedgerData objects to each other without considering the header field.

Parameters
otherThe LedgerData to compare to
Returns
true if data is equivalent; false otherwise

The documentation for this struct was generated from the following file: