1#ifndef XRPL_LEDGER_APPLYSTATETABLE_H_INCLUDED 
    2#define XRPL_LEDGER_APPLYSTATETABLE_H_INCLUDED 
    4#include <xrpl/beast/utility/Journal.h> 
    5#include <xrpl/ledger/OpenView.h> 
    6#include <xrpl/ledger/RawView.h> 
    7#include <xrpl/ledger/ReadView.h> 
    8#include <xrpl/protocol/TER.h> 
    9#include <xrpl/protocol/TxMeta.h> 
   10#include <xrpl/protocol/XRPAmount.h> 
A generic endpoint for log messages.
 
Writable ledger view that accumulates state and tx changes.
 
Interface for ledger entry changes.
 
std::shared_ptr< SLE > peek(ReadView const &base, Keylet const &k)
 
void rawErase(ReadView const &base, std::shared_ptr< SLE > const &sle)
 
XRPAmount const & dropsDestroyed() const
 
void threadTx(ReadView const &base, TxMeta &meta, AccountID const &to, Mods &mods, beast::Journal j)
 
std::shared_ptr< SLE const > read(ReadView const &base, Keylet const &k) const
 
void update(ReadView const &base, std::shared_ptr< SLE > const &sle)
 
bool exists(ReadView const &base, Keylet const &k) const
 
void visit(ReadView const &base, std::function< void(uint256 const &key, bool isDelete, std::shared_ptr< SLE const > const &before, std::shared_ptr< SLE const > const &after)> const &func) const
 
static void threadItem(TxMeta &meta, std::shared_ptr< SLE > const &to)
 
ApplyStateTable & operator=(ApplyStateTable &&)=delete
 
std::shared_ptr< SLE > getForMod(ReadView const &base, key_type const &key, Mods &mods, beast::Journal j)
 
void threadOwners(ReadView const &base, TxMeta &meta, std::shared_ptr< SLE const > const &sle, Mods &mods, beast::Journal j)
 
ApplyStateTable(ApplyStateTable &&)=default
 
ApplyStateTable & operator=(ApplyStateTable const &)=delete
 
void apply(RawView &to) const
 
std::optional< key_type > succ(ReadView const &base, key_type const &key, std::optional< key_type > const &last) const
 
void replace(ReadView const &base, std::shared_ptr< SLE > const &sle)
 
ApplyStateTable(ApplyStateTable const &)=delete
 
void destroyXRP(XRPAmount const &fee)
 
XRPAmount dropsDestroyed_
 
ApplyStateTable()=default
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
bool after(NetClock::time_point now, std::uint32_t mark)
Has the specified time passed?
 
A pair of SHAMap key and LedgerEntryType.