20 #ifndef RIPPLE_LEDGER_RAWVIEW_H_INCLUDED
21 #define RIPPLE_LEDGER_RAWVIEW_H_INCLUDED
23 #include <ripple/ledger/ReadView.h>
24 #include <ripple/protocol/STLedgerEntry.h>
25 #include <ripple/protocol/Serializer.h>
virtual void rawDestroyXRP(XRPAmount const &fee)=0
Destroy XRP.
virtual ~RawView()=default
virtual void rawReplace(std::shared_ptr< SLE > const &sle)=0
Unconditionally replace a state item.
virtual void rawErase(std::shared_ptr< SLE > const &sle)=0
Delete an existing state item.
Interface for ledger entry changes.
virtual void rawTxInsert(ReadView::key_type const &key, std::shared_ptr< Serializer const > const &txn, std::shared_ptr< Serializer const > const &metaData)=0
Add a transaction to the tx map.
virtual void rawInsert(std::shared_ptr< SLE > const &sle)=0
Unconditionally insert a state item.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Interface for changing ledger entries with transactions.
RawView & operator=(RawView const &)=delete