1#ifndef XRPL_APP_MISC_SHAMAPSTORE_H_INCLUDED 
    2#define XRPL_APP_MISC_SHAMAPSTORE_H_INCLUDED 
    4#include <xrpld/app/ledger/Ledger.h> 
    6#include <xrpl/nodestore/Manager.h> 
   12class TransactionMaster;
 
A generic endpoint for log messages.
 
Scheduling for asynchronous backend activity.
 
class to create database, launch online delete thread, and related SQLite database
 
virtual LedgerIndex setCanDelete(LedgerIndex canDelete)=0
Highest ledger that may be deleted.
 
virtual void onLedgerClosed(std::shared_ptr< Ledger const > const &ledger)=0
Called by LedgerMaster every time a ledger validates.
 
virtual std::uint32_t clampFetchDepth(std::uint32_t fetch_depth) const =0
 
virtual bool advisoryDelete() const =0
Whether advisory delete is enabled.
 
virtual LedgerIndex getLastRotated()=0
Maximum ledger that has been deleted, or will be deleted if currently in the act of online deletion.
 
virtual ~SHAMapStore()=default
 
virtual int fdRequired() const =0
Returns the number of file descriptors that are needed.
 
virtual LedgerIndex getCanDelete()=0
Highest ledger that may be deleted.
 
virtual void rendezvous() const =0
 
virtual std::optional< LedgerIndex > minimumOnline() const =0
The minimum ledger to try and maintain in our database.
 
virtual std::unique_ptr< NodeStore::Database > makeNodeStore(int readThreads)=0
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::unique_ptr< SHAMapStore > make_SHAMapStore(Application &app, NodeStore::Scheduler &scheduler, beast::Journal journal)