rippled
Loading...
Searching...
No Matches
RPCHandler.h
1#ifndef XRPL_RPC_RPCHANDLER_H_INCLUDED
2#define XRPL_RPC_RPCHANDLER_H_INCLUDED
3
4#include <xrpld/rpc/Context.h>
5#include <xrpld/rpc/Status.h>
6
7namespace ripple {
8namespace RPC {
9
10struct JsonContext;
11
14doCommand(RPC::JsonContext&, Json::Value&);
15
16Role
17roleRequired(unsigned int version, bool betaEnabled, std::string const& method);
18
19} // namespace RPC
20} // namespace ripple
21
22#endif
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:6
Role
Indicates the level of administrative permission to grant.
Definition Role.h:25