|
rippled
|
A ledger that has become irrevocable. More...
#include <AcceptedLedger.h>


Public Member Functions | |
| AcceptedLedger (std::shared_ptr< ReadView const > const &ledger) | |
| 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 25 of file AcceptedLedger.h.
| xrpl::AcceptedLedger::AcceptedLedger | ( | std::shared_ptr< ReadView const > const & | ledger | ) |
Definition at line 7 of file AcceptedLedger.cpp.
| std::shared_ptr< ReadView const > const & xrpl::AcceptedLedger::getLedger | ( | ) | const |
Definition at line 31 of file AcceptedLedger.h.
| std::size_t xrpl::AcceptedLedger::size | ( | ) | const |
Definition at line 37 of file AcceptedLedger.h.
| auto xrpl::AcceptedLedger::begin | ( | ) | const |
Definition at line 43 of file AcceptedLedger.h.
| auto xrpl::AcceptedLedger::end | ( | ) | const |
Definition at line 49 of file AcceptedLedger.h.
|
staticprivatenoexceptinherited |
Definition at line 109 of file CountedObject.h.
|
private |
Definition at line 55 of file AcceptedLedger.h.
|
private |
Definition at line 56 of file AcceptedLedger.h.