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


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 24 of file AcceptedLedger.h.
| ripple::AcceptedLedger::AcceptedLedger | ( | std::shared_ptr< ReadView const > const & | ledger, |
| Application & | app | ||
| ) |
Definition at line 7 of file AcceptedLedger.cpp.
| std::shared_ptr< ReadView const > const & ripple::AcceptedLedger::getLedger | ( | ) | const |
Definition at line 32 of file AcceptedLedger.h.
| std::size_t ripple::AcceptedLedger::size | ( | ) | const |
Definition at line 38 of file AcceptedLedger.h.
| auto ripple::AcceptedLedger::begin | ( | ) | const |
Definition at line 44 of file AcceptedLedger.h.
| auto ripple::AcceptedLedger::end | ( | ) | const |
Definition at line 50 of file AcceptedLedger.h.
|
staticprivatenoexceptinherited |
Definition at line 110 of file CountedObject.h.
|
private |
Definition at line 56 of file AcceptedLedger.h.
|
private |
Definition at line 57 of file AcceptedLedger.h.