1#include <xrpld/app/ledger/LedgerCleaner.h>
2#include <xrpld/app/main/Application.h>
3#include <xrpld/rpc/Context.h>
4#include <xrpld/rpc/detail/Handler.h>
6#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 &)