Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
Show First 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | |||||
* Utilities: convert hex-encoded values (throws error if not hex). | * Utilities: convert hex-encoded values (throws error if not hex). | ||||
*/ | */ | ||||
extern uint256 ParseHashV(const UniValue &v, std::string strName); | extern uint256 ParseHashV(const UniValue &v, std::string strName); | ||||
extern uint256 ParseHashO(const UniValue &o, std::string strKey); | extern uint256 ParseHashO(const UniValue &o, std::string strKey); | ||||
extern std::vector<uint8_t> ParseHexV(const UniValue &v, std::string strName); | extern std::vector<uint8_t> ParseHexV(const UniValue &v, std::string strName); | ||||
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 UniValue ValueFromAmount(const Amount amount); | |||||
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(); | bool StartRPC(); | ||||
void InterruptRPC(); | void InterruptRPC(); | ||||
void StopRPC(); | void StopRPC(); | ||||
Show All 9 Lines |