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