1#include <xrpld/app/ledger/LedgerMaster.h>
2#include <xrpld/app/main/Application.h>
3#include <xrpld/rpc/Context.h>
4#include <xrpld/rpc/detail/PathRequestManager.h>
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/ErrorCodes.h>
8#include <xrpl/protocol/RPCErr.h>
9#include <xrpl/protocol/jss.h>
10#include <xrpl/resource/Fees.h>
11#include <xrpl/server/InfoSub.h>
35 if (sSubCommand ==
"create")
43 if (sSubCommand ==
"close")
54 if (sSubCommand ==
"status")
std::string asString() const
Returns the unquoted string value.
bool isMember(char const *key) const
Return true if the object has a member named key.
virtual Config & config()=0
std::shared_ptr< InfoSubRequest > pointer
virtual json::Value doClose()=0
virtual json::Value doStatus(json::Value const &)=0
void setApiVersion(unsigned int apiVersion)
std::shared_ptr< InfoSubRequest > const & getRequest()
std::shared_ptr< Ledger const > getClosedLedger()
json::Value makePathRequest(std::shared_ptr< InfoSub > const &subscriber, std::shared_ptr< ReadView const > const &ledger, json::Value const &request)
virtual PathRequestManager & getPathRequestManager()=0
Charge const kFeeHeavyBurdenRpc
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
json::Value rpcError(ErrorCodeI iError)
json::Value doPathFind(RPC::JsonContext &)
Resource::Charge & loadType
LedgerMaster & ledgerMaster