Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <stdint.h>
#include <string.h>
#include <string>
#include <vector>
#include <map>
#include <cassert>
#include <sstream>
#include <utility>
Go to the source code of this file.
Classes | |
class | UniValue |
Enumerations | |
enum | jtokentype { JTOK_ERR = -1, JTOK_NONE = 0, JTOK_OBJ_OPEN, JTOK_OBJ_CLOSE, JTOK_ARR_OPEN, JTOK_ARR_CLOSE, JTOK_COLON, JTOK_COMMA, JTOK_KW_NULL, JTOK_KW_TRUE, JTOK_KW_FALSE, JTOK_NUMBER, JTOK_STRING } |
Functions | |
static std::pair< std::string, UniValue > | Pair (const char *cKey, const char *cVal) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, std::string strVal) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, uint64_t u64Val) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, int64_t i64Val) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, bool iVal) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, int iVal) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, double dVal) |
static std::pair< std::string, UniValue > | Pair (const char *cKey, const UniValue &uVal) |
static std::pair< std::string, UniValue > | Pair (std::string key, const UniValue &uVal) |
enum jtokentype | getJsonToken (std::string &tokenVal, unsigned int &consumed, const char *raw, const char *end) |
const char * | uvTypeName (UniValue::VType t) |
static bool | jsonTokenIsValue (enum jtokentype jtt) |
static bool | json_isspace (int ch) |
const UniValue & | find_value (const UniValue &obj, const std::string &name) |
Variables | |
const UniValue | NullUniValue |
Enumeration Type Documentation
◆ jtokentype
enum jtokentype |
Enumerator | |
---|---|
JTOK_ERR | |
JTOK_NONE | |
JTOK_OBJ_OPEN | |
JTOK_OBJ_CLOSE | |
JTOK_ARR_OPEN | |
JTOK_ARR_CLOSE | |
JTOK_COLON | |
JTOK_COMMA | |
JTOK_KW_NULL | |
JTOK_KW_TRUE | |
JTOK_KW_FALSE | |
JTOK_NUMBER | |
JTOK_STRING |
Definition at line 245 of file univalue.h.
Function Documentation
◆ find_value()
Definition at line 236 of file univalue.cpp.
References UniValue::keys, name, NullUniValue, and UniValue::values.
Referenced by CommandLineRPC(), createrawtransaction(), decodescript(), getaddressdeltas(), getAddressesFromParams(), getaddresstxids(), getblocktemplate(), getspentinfo(), JSONErrorReply(), lockunspent(), JSONRPCRequest::parse(), ParseHashO(), ParseHexO(), RPCExecutor::request(), RPCConsole::RPCParseCommandLine(), RPCTypeCheckObj(), and signrawtransaction().
◆ getJsonToken()
enum jtokentype getJsonToken | ( | std::string & | tokenVal, |
unsigned int & | consumed, | ||
const char * | raw, | ||
const char * | end | ||
) |
Referenced by validNumStr().
◆ json_isspace()
|
inlinestatic |
Definition at line 282 of file univalue.h.
Referenced by getJsonToken().
◆ jsonTokenIsValue()
|
inlinestatic |
Definition at line 265 of file univalue.h.
References JTOK_KW_FALSE, JTOK_KW_NULL, JTOK_KW_TRUE, JTOK_NUMBER, and JTOK_STRING.
Referenced by UniValue::read().
◆ Pair() [1/9]
|
inlinestatic |
Definition at line 185 of file univalue.h.
Referenced by AcentryToJSON(), CKeePassIntegrator::CKeePassRequest::addStrParameter(), BIP9SoftForkDesc(), BIP9SoftForkDescPushBack(), blockheaderToJSON(), blockToJSON(), bls_fromsecret(), bls_generate(), BuildDMNListEntry(), BuildQuorumInfo(), createmultisig(), decodescript(), dumphdinfo(), dumpwallet(), entryToJSON(), estimaterawfee(), estimatesmartfee(), fundrawtransaction(), getaddednodeinfo(), getaddressbalance(), getaddressdeltas(), getaddressmempool(), getaddressutxos(), getbestchainlock(), getblockchaininfo(), getblocktemplate(), getchaintips(), getchaintxstats(), getgovernanceinfo(), CPrivateSendServer::GetJsonInfo(), CPrivateSendClientSession::GetJsonInfo(), CPrivateSendClientManager::GetJsonInfo(), getmemoryinfo(), getmempoolancestors(), getmempooldescendants(), getmininginfo(), getnettotals(), getnetworkinfo(), GetNetworksInfo(), GetNextMasternodeForPayment(), getpeerinfo(), getprivatesendinfo(), getrawtransaction(), getspentinfo(), gettransaction(), gettxout(), gettxoutsetinfo(), getwalletinfo(), gobject_check(), gobject_get(), gobject_getcurrentvotes(), gobject_vote_conf(), JSONRPCError(), JSONRPCReplyObj(), JSONRPCRequestObj(), listaccounts(), listaddressbalances(), listbanned(), listlockunspent(), ListObjects(), ListReceived(), listsinceblock(), ListTransactions(), listunspent(), masternode_count(), masternode_status(), masternode_winners(), masternodelist(), MaybePushAddress(), mempoolInfoToJSON(), mempoolToJSON(), mnsync(), quorum_dkgstatus(), quorum_list(), quorum_memberof(), quorum_selectquorum(), rest_getutxos(), RPCLockedMemoryInfo(), signrawtransaction(), SoftForkDesc(), SoftForkMajorityDesc(), spork(), CCbTx::ToJson(), llmq::CRecoveredSig::ToJson(), CProRegTx::ToJson(), CMasternodeMetaInfo::ToJson(), CSimplifiedMNListEntry::ToJson(), llmq::CDKGDebugSessionStatus::ToJson(), llmq::CDKGDebugStatus::ToJson(), llmq::CFinalCommitment::ToJson(), CDeterministicMNState::ToJson(), CProUpServTx::ToJson(), llmq::CFinalCommitmentTxPayload::ToJson(), CSimplifiedMNListDiff::ToJson(), CProUpRegTx::ToJson(), CProUpRevTx::ToJson(), CDeterministicMN::ToJson(), CGovernanceManager::ToJson(), TxInErrorToJSON(), TxToJSON(), TxToUniv(), validateaddress(), VoteWithMasternodes(), waitforblock(), waitforblockheight(), waitfornewblock(), and WalletTxToJSON().
◆ Pair() [2/9]
|
inlinestatic |
Definition at line 192 of file univalue.h.
◆ Pair() [3/9]
|
inlinestatic |
Definition at line 199 of file univalue.h.
◆ Pair() [4/9]
|
inlinestatic |
Definition at line 206 of file univalue.h.
◆ Pair() [5/9]
|
inlinestatic |
Definition at line 213 of file univalue.h.
◆ Pair() [6/9]
|
inlinestatic |
Definition at line 220 of file univalue.h.
◆ Pair() [7/9]
|
inlinestatic |
Definition at line 227 of file univalue.h.
◆ Pair() [8/9]
|
inlinestatic |
Definition at line 234 of file univalue.h.
◆ Pair() [9/9]
Definition at line 240 of file univalue.h.
◆ uvTypeName()
const char* uvTypeName | ( | UniValue::VType | t | ) |
Definition at line 221 of file univalue.cpp.
References UniValue::VARR, UniValue::VBOOL, UniValue::VNULL, UniValue::VNUM, UniValue::VOBJ, and UniValue::VSTR.
Referenced by GetImportTimestamp(), RPCTypeCheckArgument(), and RPCTypeCheckObj().
Variable Documentation
◆ NullUniValue
const UniValue NullUniValue |
Definition at line 15 of file univalue.cpp.
Referenced by abandontransaction(), abortrescan(), addmultisigaddress(), addnode(), backupwallet(), BIP22ValidationResult(), clearbanned(), disconnectnode(), dumphdinfo(), dumpprivkey(), dumpwallet(), encryptwallet(), find_value(), fundrawtransaction(), getaccount(), getaccountaddress(), getaddressesbyaccount(), getbalance(), getblocktemplate(), getnewaddress(), getrawchangeaddress(), getreceivedbyaccount(), getreceivedbyaddress(), gettransaction(), gettxout(), getunconfirmedbalance(), getwalletinfo(), HTTPReq_JSONRPC(), importaddress(), importelectrumwallet(), importmulti(), importprivkey(), importprunedfunds(), importpubkey(), importwallet(), invalidateblock(), JSONErrorReply(), JSONRPCExecOne(), JSONRPCReplyObj(), keepass(), keypoolrefill(), listaccounts(), listaddressbalances(), listaddressgroupings(), listlockunspent(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listunspent(), listwallets(), lockunspent(), masternode_winners(), movecmd(), UniValue::operator[](), ping(), preciousblock(), GetinfoRequestHandler::PrepareRequest(), GetinfoRequestHandler::ProcessReply(), reconsiderblock(), removeprunedfunds(), rescanblockchain(), resendwallettransactions(), savemempool(), sendfrom(), sendmany(), sendtoaddress(), setaccount(), setban(), setmocktime(), setprivatesendamount(), setprivatesendrounds(), settxfee(), signmessage(), walletlock(), walletpassphrase(), and walletpassphrasechange().