20#ifndef RIPPLE_APP_LEDGER_LEDGERCLEANER_H_INCLUDED
21#define RIPPLE_APP_LEDGER_LEDGERCLEANER_H_INCLUDED
23#include <xrpld/app/main/Application.h>
25#include <xrpl/beast/utility/Journal.h>
26#include <xrpl/beast/utility/PropertyStream.h>
27#include <xrpl/json/json_value.h>
A generic endpoint for log messages.
Subclasses can be called to write to a stream and have children.
Source(std::string const &name)
Check the ledger/transaction databases to make sure they have continuity.
virtual ~LedgerCleaner()=default
virtual void clean(Json::Value const ¶meters)=0
Start a long running task to clean the ledger.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::unique_ptr< LedgerCleaner > make_LedgerCleaner(Application &app, beast::Journal journal)