20#include <xrpld/app/ledger/LedgerCleaner.h>
21#include <xrpld/app/main/Application.h>
22#include <xrpld/rpc/Context.h>
23#include <xrpld/rpc/detail/Handler.h>
25#include <xrpl/json/json_value.h>
virtual LedgerCleaner & getLedgerCleaner()=0
virtual void clean(Json::Value const ¶meters)=0
Start a long running task to clean the ledger.
Json::Value makeObjectValue(Value const &value, Json::StaticString const &field=jss::message)
Return a Json::objectValue with a single entry.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Json::Value doLedgerCleaner(RPC::JsonContext &)