Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
Show First 20 Lines • Show All 276 Lines • ▼ Show 20 Lines | |||||
extern std::vector<uint8_t> ParseHexO(const UniValue &o, std::string strKey); | extern std::vector<uint8_t> ParseHexO(const UniValue &o, std::string strKey); | ||||
extern Amount AmountFromValue(const UniValue &value); | extern Amount AmountFromValue(const UniValue &value); | ||||
extern std::string HelpExampleCli(const std::string &methodname, | extern std::string HelpExampleCli(const std::string &methodname, | ||||
const std::string &args); | const std::string &args); | ||||
extern std::string HelpExampleRpc(const std::string &methodname, | extern std::string HelpExampleRpc(const std::string &methodname, | ||||
const std::string &args); | const std::string &args); | ||||
bool StartRPC(); | void StartRPC(); | ||||
void InterruptRPC(); | void InterruptRPC(); | ||||
void StopRPC(); | void StopRPC(); | ||||
std::string JSONRPCExecBatch(Config &config, RPCServer &rpcServer, | std::string JSONRPCExecBatch(Config &config, RPCServer &rpcServer, | ||||
const JSONRPCRequest &req, const UniValue &vReq); | const JSONRPCRequest &req, const UniValue &vReq); | ||||
/** | /** | ||||
* Retrieves any serialization flags requested in command line argument | * Retrieves any serialization flags requested in command line argument | ||||
*/ | */ | ||||
int RPCSerializationFlags(); | int RPCSerializationFlags(); | ||||
#endif // BITCOIN_RPC_SERVER_H | #endif // BITCOIN_RPC_SERVER_H |