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