rippled
|
A ledger that has become irrevocable. More...
Public Member Functions | |
AcceptedLedger (std::shared_ptr< ReadView const > const &ledger, Application &app) | |
std::shared_ptr< ReadView const > const & | getLedger () const |
std::size_t | size () const |
auto | begin () const |
auto | end () const |
Static Private Member Functions | |
static auto & | getCounter () noexcept |
Private Attributes | |
std::shared_ptr< ReadView const > | mLedger |
std::vector< std::unique_ptr< AcceptedLedgerTx > > | transactions_ |
A ledger that has become irrevocable.
An accepted ledger is a ledger that has a sufficient number of validations to convince the local server that it is irrevocable.
The existence of an accepted ledger implies all preceding ledgers are accepted.
Definition at line 44 of file AcceptedLedger.h.
ripple::AcceptedLedger::AcceptedLedger | ( | std::shared_ptr< ReadView const > const & | ledger, |
Application & | app | ||
) |
Definition at line 26 of file AcceptedLedger.cpp.
std::shared_ptr<ReadView const> const& ripple::AcceptedLedger::getLedger | ( | ) | const |
Definition at line 52 of file AcceptedLedger.h.
std::size_t ripple::AcceptedLedger::size | ( | ) | const |
Definition at line 58 of file AcceptedLedger.h.
auto ripple::AcceptedLedger::begin | ( | ) | const |
Definition at line 64 of file AcceptedLedger.h.
auto ripple::AcceptedLedger::end | ( | ) | const |
Definition at line 70 of file AcceptedLedger.h.
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
private |
Definition at line 76 of file AcceptedLedger.h.
|
private |
Definition at line 77 of file AcceptedLedger.h.