1#include <xrpld/app/misc/detail/AccountTxPaging.h>
3#include <xrpld/app/ledger/LedgerMaster.h>
4#include <xrpld/app/ledger/LedgerPersistence.h>
5#include <xrpld/app/main/Application.h>
6#include <xrpld/app/misc/Transaction.h>
8#include <xrpl/basics/Blob.h>
9#include <xrpl/basics/Slice.h>
10#include <xrpl/core/NetworkIDService.h>
11#include <xrpl/protocol/SField.h>
12#include <xrpl/protocol/STTx.h>
13#include <xrpl/protocol/Serializer.h>
14#include <xrpl/protocol/TxMeta.h>
41 if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))
46 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.
std::vector< AccountTx > AccountTxs
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 convertBlobsToTxResult(RelationalDatabase::AccountTxs &to, std::uint32_t ledgerIndex, std::string const &status, Blob const &rawTxn, Blob const &rawMeta, Application &app)
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.
std::vector< unsigned char > Blob
Storage for linear binary data.
std::enable_if_t< std::is_same_v< T, char >||std::is_same_v< T, unsigned char >, Slice > makeSlice(std::array< T, N > const &a)