20#include <xrpld/app/ledger/Ledger.h>
21#include <xrpld/app/ledger/LedgerReplay.h>
28 : parent_{
std::move(parent)}, replay_{
std::move(replay)}
30 for (
auto const& item :
replay_->txMap())
32 auto txPair =
replay_->txRead(item.key());
33 auto const txIndex = (*txPair.second)[sfTransactionIndex];
42 : parent_{
std::move(parent)}
43 , replay_{
std::move(replay)}
44 , orderedTxns_{
std::move(orderedTxns)}
std::map< std::uint32_t, std::shared_ptr< STTx const > > orderedTxns_
std::shared_ptr< Ledger const > replay_
LedgerReplay(std::shared_ptr< Ledger const > parent, std::shared_ptr< Ledger const > replay)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.