1#ifndef XRPL_LEDGER_RAWSTATETABLE_H_INCLUDED
2#define XRPL_LEDGER_RAWSTATETABLE_H_INCLUDED
4#include <xrpl/ledger/RawView.h>
5#include <xrpl/ledger/ReadView.h>
7#include <boost/container/pmr/monotonic_buffer_resource.hpp>
8#include <boost/container/pmr/polymorphic_allocator.hpp>
28 boost::container::pmr::monotonic_buffer_resource>(
34 boost::container::pmr::monotonic_buffer_resource>(
109 boost::container::pmr::polymorphic_allocator<
Interface for ledger entry changes.
std::optional< key_type > succ(ReadView const &base, key_type const &key, std::optional< key_type > const &last) const
void destroyXRP(XRPAmount const &fee)
XRPAmount dropsDestroyed_
RawStateTable(RawStateTable const &rhs)
bool exists(ReadView const &base, Keylet const &k) const
void apply(RawView &to) const
std::unique_ptr< ReadView::sles_type::iter_base > slesUpperBound(ReadView const &base, uint256 const &key) const
ReadView::key_type key_type
RawStateTable & operator=(RawStateTable const &)=delete
std::shared_ptr< SLE const > read(ReadView const &base, Keylet const &k) const
std::unique_ptr< ReadView::sles_type::iter_base > slesBegin(ReadView const &base) const
RawStateTable & operator=(RawStateTable &&)=delete
std::unique_ptr< ReadView::sles_type::iter_base > slesEnd(ReadView const &base) const
std::unique_ptr< boost::container::pmr::monotonic_buffer_resource > monotonic_resource_
static constexpr size_t initialBufferSize
RawStateTable(RawStateTable &&)=default
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr auto kilobytes(T value) noexcept
T get(Section const §ion, std::string const &name, T const &defaultValue=T{})
Retrieve a key/value pair from a section.
A pair of SHAMap key and LedgerEntryType.
std::shared_ptr< SLE > sle
sleAction(Action action_, std::shared_ptr< SLE > const &sle_)