rippled
Loading...
Searching...
No Matches
RPCHandler.h
1#pragma once
2
3#include <xrpld/rpc/Context.h>
4#include <xrpld/rpc/Status.h>
5
6namespace xrpl {
7namespace RPC {
8
9struct JsonContext;
10
13doCommand(RPC::JsonContext&, Json::Value&);
14
15Role
16roleRequired(unsigned int version, bool betaEnabled, std::string const& method);
17
18} // namespace RPC
19} // namespace xrpl
Represents a JSON value.
Definition json_value.h:130
Status
Return codes from Backend operations.
Role roleRequired(unsigned int version, bool betaEnabled, std::string const &method)
Status doCommand(RPC::JsonContext &context, Json::Value &result)
Execute an RPC command and store the results in a Json::Value.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
Role
Indicates the level of administrative permission to grant.
Definition Role.h:24