Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
Show All 34 Lines | |||||
class Config; | class Config; | ||||
class CNetAddr; | class CNetAddr; | ||||
/** | /** | ||||
* Wrapper for UniValue::VType, which includes typeAny: used to denote don't | * Wrapper for UniValue::VType, which includes typeAny: used to denote don't | ||||
* care type. Only used by RPCTypeCheckObj. | * care type. Only used by RPCTypeCheckObj. | ||||
*/ | */ | ||||
struct UniValueType { | struct UniValueType { | ||||
UniValueType(UniValue::VType _type) : typeAny(false), type(_type) {} | explicit UniValueType(UniValue::VType _type) | ||||
: typeAny(false), type(_type) {} | |||||
UniValueType() : typeAny(true) {} | UniValueType() : typeAny(true) {} | ||||
bool typeAny; | bool typeAny; | ||||
UniValue::VType type; | UniValue::VType type; | ||||
}; | }; | ||||
/** | /** | ||||
* Class for registering and managing all RPC calls. | * Class for registering and managing all RPC calls. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 227 Lines • Show Last 20 Lines |