![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <stdint.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 * | 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 |
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 226 of file univalue.h.
Definition at line 280 of file univalue.cpp.
Referenced by CommandLineRPC(), createrawtransaction(), decodescript(), getaddressdeltas(), getAddressesFromParams(), getaddresstxids(), getblocktemplate(), getspentinfo(), JSONErrorReply(), lockunspent(), JSONRequest::parse(), ParseHashO(), ParseHexO(), RPCExecutor::request(), RPCTypeCheckObj(), and signrawtransaction().
enum jtokentype getJsonToken | ( | std::string & | tokenVal, |
unsigned int & | consumed, | ||
const char * | raw | ||
) |
Referenced by validNumStr().
|
inlinestatic |
Definition at line 263 of file univalue.h.
Referenced by getJsonToken().
|
inlinestatic |
Definition at line 246 of file univalue.h.
Referenced by UniValue::read().
|
inlinestatic |
Definition at line 166 of file univalue.h.
Referenced by AcentryToJSON(), CKeePassIntegrator::CKeePassRequest::addStrParameter(), BIP9SoftForkDesc(), blockheaderToJSON(), blockToJSON(), createmultisig(), decodescript(), dumphdinfo(), estimatesmartfee(), estimatesmartpriority(), fundrawtransaction(), getaddednodeinfo(), getaddressbalance(), getaddressdeltas(), getaddressmempool(), getaddressutxos(), getblockchaininfo(), getblocktemplate(), getchaintips(), getgovernanceinfo(), getinfo(), getmininginfo(), getnettotals(), getnetworkinfo(), GetNetworksInfo(), getpeerinfo(), getpoolinfo(), getrawtransaction(), getspentinfo(), gettransaction(), gettxout(), gettxoutsetinfo(), getwalletinfo(), gobject(), JSONRPCError(), JSONRPCReplyObj(), JSONRPCRequest(), listaccounts(), listbanned(), listlockunspent(), ListReceived(), listsinceblock(), ListTransactions(), listunspent(), masternode(), masternodebroadcast(), masternodelist(), MaybePushAddress(), mempoolInfoToJSON(), mempoolToJSON(), mnsync(), rest_getutxos(), ScriptPubKeyToJSON(), signrawtransaction(), SoftForkDesc(), SoftForkMajorityDesc(), spork(), TxInErrorToJSON(), TxToJSON(), validateaddress(), and WalletTxToJSON().
|
inlinestatic |
Definition at line 173 of file univalue.h.
|
inlinestatic |
Definition at line 180 of file univalue.h.
|
inlinestatic |
Definition at line 187 of file univalue.h.
|
inlinestatic |
Definition at line 194 of file univalue.h.
|
inlinestatic |
Definition at line 201 of file univalue.h.
|
inlinestatic |
Definition at line 208 of file univalue.h.
|
inlinestatic |
Definition at line 215 of file univalue.h.
Definition at line 221 of file univalue.h.
const char* uvTypeName | ( | UniValue::VType | t | ) |
Definition at line 265 of file univalue.cpp.
Referenced by RPCTypeCheck(), and RPCTypeCheckObj().
const UniValue NullUniValue |
Definition at line 78 of file univalue.cpp.
Referenced by abandontransaction(), 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(), gobject(), HTTPReq_JSONRPC(), importaddress(), importelectrumwallet(), importprivkey(), importpubkey(), importwallet(), instantsendtoaddress(), invalidateblock(), JSONErrorReply(), JSONRequest::JSONRequest(), JSONRPCExecOne(), JSONRPCReplyObj(), keypoolrefill(), listaccounts(), listaddressgroupings(), listlockunspent(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listunspent(), lockunspent(), masternode(), masternodebroadcast(), movecmd(), UniValue::operator[](), ping(), reconsiderblock(), resendwallettransactions(), sendfrom(), sendmany(), sendtoaddress(), setaccount(), setban(), setgenerate(), setmocktime(), settxfee(), signmessage(), walletlock(), walletpassphrase(), and walletpassphrasechange().