3#include <xrpld/app/main/Application.h>
5#include <xrpl/beast/utility/Journal.h>
6#include <xrpl/beast/utility/PropertyStream.h>
7#include <xrpl/json/json_value.h>
A generic endpoint for log messages.
Subclasses can be called to write to a stream and have children.
~LedgerCleaner() override=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 > makeLedgerCleaner(Application &app, beast::Journal journal)