Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Mark warmup as done. RPC calls will be processed from now on. | * Mark warmup as done. RPC calls will be processed from now on. | ||||
*/ | */ | ||||
void SetRPCWarmupFinished(); | void SetRPCWarmupFinished(); | ||||
/** | /** | ||||
* Returns the current warmup state | * Returns the current warmup state | ||||
*/ | */ | ||||
bool RPCIsInWarmup(std::string *statusOut); | bool RPCIsInWarmup(std::string *outStatus); | ||||
/** | /** | ||||
* Type-check arguments; throws JSONRPCError if wrong type given. Does not check | * Type-check arguments; throws JSONRPCError if wrong type given. Does not check | ||||
* that the right number of arguments are passed, just that any passed are the | * that the right number of arguments are passed, just that any passed are the | ||||
* correct type. | * correct type. | ||||
*/ | */ | ||||
void RPCTypeCheck(const UniValue ¶ms, | void RPCTypeCheck(const UniValue ¶ms, | ||||
const std::list<UniValue::VType> &typesExpected, | const std::list<UniValue::VType> &typesExpected, | ||||
▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines |