Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
server.h
Go to the documentation of this file.
147 std::string help(const std::string& name, const std::string& strSubCommand, const JSONRPCRequest& helpreq) const;
uint256 ParseHashV(const UniValue &v, std::string strName)
Utilities: convert hex-encoded Values (throws error if not hex).
Definition: server.cpp:121
std::vector< unsigned char > ParseHexO(const UniValue &o, std::string strKey)
Definition: server.cpp:147
Definition: univalue.h:20
void RPCSetTimerInterface(RPCTimerInterface *iface)
Set the factory function for timers.
Definition: server.cpp:596
bool appendCommand(const std::string &name, const CRPCCommand *pcmd)
Appends a CRPCCommand to the dispatch table.
Definition: server.cpp:353
std::string help(const std::string &name, const std::string &strSubCommand, const JSONRPCRequest &helpreq) const
Note: This interface may still be subject to change.
Definition: server.cpp:203
std::string HelpExampleRpc(const std::string &methodname, const std::string &args)
Definition: server.cpp:583
const CRPCCommand * operator[](const std::string &name) const
Definition: server.cpp:345
void RPCTypeCheck(const UniValue ¶ms, const std::list< UniValue::VType > &typesExpected, bool fAllowNull=false)
Type-check arguments; throws JSONRPCError if wrong type given.
Definition: server.cpp:54
std::string HelpExampleCli(const std::string &methodname, const std::string &args)
Definition: server.cpp:578
void RPCTypeCheckArgument(const UniValue &value, UniValue::VType typeExpected)
Type-check one argument; throws JSONRPCError if wrong type given.
Definition: server.cpp:72
std::vector< unsigned char > ParseHexV(const UniValue &v, std::string strName)
Definition: server.cpp:138
virtual RPCTimerBase * NewTimer(std::function< void(void)> &func, int64_t millis)=0
Factory function for timers.
bool IsDeprecatedRPCEnabled(const std::string &method)
Definition: server.cpp:447
Definition: server.h:22
std::map< std::string, const CRPCCommand * > mapCommands
Definition: server.h:143
int64_t ParseInt64V(const UniValue &v, const std::string &strName)
Definition: server.cpp:161
void RPCTypeCheckObj(const UniValue &o, const std::map< std::string, UniValueType > &typesExpected, bool fAllowNull=false, bool fStrict=false)
Definition: server.cpp:79
void RPCUnsetTimerInterface(RPCTimerInterface *iface)
Unset factory function for timers.
Definition: server.cpp:601
Definition: server.h:37
double ParseDoubleV(const UniValue &v, const std::string &strName)
Definition: server.cpp:170
void RPCRunLater(const std::string &name, std::function< void(void)> func, int64_t nSeconds)
Run func nSeconds from now.
Definition: server.cpp:607
int32_t ParseInt32V(const UniValue &v, const std::string &strName)
Definition: server.cpp:152
void SetRPCWarmupStatus(const std::string &newStatus)
Set the RPC warmup status.
Definition: server.cpp:395
std::string JSONRPCExecBatch(const JSONRPCRequest &jreq, const UniValue &vReq)
Definition: server.cpp:477
std::vector< std::string > listCommands() const
Returns a list of registered commands.
Definition: server.cpp:567
void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)
Set the factory function for timer, but only, if unset.
Definition: server.cpp:590
Wrapper for UniValue::VType, which includes typeAny: Used to denote don't care type.
Definition: server.h:30
Definition: server.h:128