20#include <xrpld/app/ledger/AcceptedLedger.h>
33 auto insertAll = [&](
auto const& txns) {
34 for (
auto const& item : txns)
35 transactions_.emplace_back(std::make_unique<AcceptedLedgerTx>(
36 ledger, item.first, item.second));
40 insertAll(ledger->txs);
45 [](
auto const& a,
auto const& b) {
46 return a->getTxnSeq() < b->getTxnSeq();
std::vector< std::unique_ptr< AcceptedLedgerTx > > transactions_
AcceptedLedger(std::shared_ptr< ReadView const > const &ledger, Application &app)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.