1#include <xrpld/app/ledger/LedgerMaster.h>
2#include <xrpld/app/ledger/LedgerPersistence.h>
3#include <xrpld/app/main/Application.h>
4#include <xrpld/app/misc/Transaction.h>
5#include <xrpld/app/misc/detail/AccountTxPaging.h>
7#include <xrpl/core/NetworkIDService.h>
8#include <xrpl/protocol/Serializer.h>
30 if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))
35 metaset->getAsObject().getFieldU32(sfTransactionIndex),
std::shared_ptr< Ledger const > getLedgerBySeq(std::uint32_t index)
virtual std::uint32_t getNetworkID() const noexcept=0
Get the configured network ID.
virtual NetworkIDService & getNetworkIDService()=0
virtual LedgerMaster & getLedgerMaster()=0
static TransStatus sqlTransactionStatus(boost::optional< std::string > const &status)
T emplace_back(T... args)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void saveLedgerAsync(Application &app, std::uint32_t seq)
bool pendSaveValidated(ServiceRegistry ®istry, std::shared_ptr< Ledger const > const &ledger, bool isSynchronous, bool isCurrent)
Save, or arrange to save, a fully-validated ledger.
void convertBlobsToTxResult(RelationalDatabase::AccountTxs &to, std::uint32_t ledger_index, std::string const &status, Blob const &rawTxn, Blob const &rawMeta, Application &app)
std::enable_if_t< std::is_same< T, char >::value||std::is_same< T, unsigned char >::value, Slice > makeSlice(std::array< T, N > const &a)