|
| std::string | GetAllOutputTypes () |
| | Gets all existing output types formatted for RPC help sections.
|
| |
| void | RPCTypeCheckObj (const UniValue &o, const std::map< std::string, UniValueType > &typesExpected, bool fAllowNull, bool fStrict) |
| |
| int | ParseVerbosity (const UniValue &arg, int default_verbosity, bool allow_bool) |
| | Parses verbosity from provided UniValue.
|
| |
| CAmount | AmountFromValue (const UniValue &value, int decimals) |
| | Validate and return a CAmount from a UniValue number or string.
|
| |
| CFeeRate | ParseFeeRate (const UniValue &json) |
| | Parse a json number or string, denoting BTC/kvB, into a CFeeRate (sat/kvB).
|
| |
| uint256 | ParseHashV (const UniValue &v, std::string_view name) |
| | Utilities: convert hex-encoded Values (throws error if not hex).
|
| |
| uint256 | ParseHashO (const UniValue &o, std::string_view strKey) |
| |
| std::vector< unsigned char > | ParseHexV (const UniValue &v, std::string_view name) |
| |
| std::vector< unsigned char > | ParseHexO (const UniValue &o, std::string_view strKey) |
| |
| std::string | HelpExampleCli (const std::string &methodname, const std::string &args) |
| |
| std::string | HelpExampleCliNamed (const std::string &methodname, const RPCArgList &args) |
| |
| std::string | HelpExampleRpc (const std::string &methodname, const std::string &args) |
| |
| std::string | HelpExampleRpcNamed (const std::string &methodname, const RPCArgList &args) |
| |
| CPubKey | HexToPubKey (const std::string &hex_in) |
| |
| CTxDestination | AddAndGetMultisigDestination (const int required, const std::vector< CPubKey > &pubkeys, OutputType type, FlatSigningProvider &keystore, CScript &script_out) |
| |
| UniValue | DescribeAddress (const CTxDestination &dest) |
| |
| std::optional< int > | ParseSighashString (const UniValue &sighash) |
| | Returns a sighash value corresponding to the passed in argument.
|
| |
| unsigned int | ParseConfirmTarget (const UniValue &value, unsigned int max_target) |
| | Parse a confirm target option and raise an RPC error if it is invalid.
|
| |
| RPCErrorCode | RPCErrorFromPSBTError (PSBTError err) |
| |
| RPCErrorCode | RPCErrorFromTransactionError (TransactionError terr) |
| |
| UniValue | JSONRPCPSBTError (PSBTError err) |
| |
| UniValue | JSONRPCTransactionError (TransactionError terr, const std::string &err_string) |
| |
| static const UniValue * | DetailMaybeArg (CheckFn *check, const std::vector< RPCArg > ¶ms, const JSONRPCRequest *req, size_t i) |
| |
| static void | CheckRequiredOrDefault (const RPCArg ¶m) |
| |
| | TMPL_INST (nullptr, const UniValue *, maybe_arg;) |
| |
| | TMPL_INST (nullptr, std::optional< double >, maybe_arg ? std::optional{maybe_arg->get_real()} :std::nullopt;) |
| |
| | TMPL_INST (nullptr, std::optional< bool >, maybe_arg ? std::optional{maybe_arg->get_bool()} :std::nullopt;) |
| |
| | TMPL_INST (nullptr, std::optional< int64_t >, maybe_arg ? std::optional{maybe_arg->getInt< int64_t >()} :std::nullopt;) |
| |
| | TMPL_INST (nullptr, std::optional< std::string_view >, maybe_arg ? std::optional< std::string_view >{maybe_arg->get_str()} :std::nullopt;) |
| |
| | TMPL_INST (CheckRequiredOrDefault, const UniValue &, *CHECK_NONFATAL(maybe_arg);) |
| |
| | TMPL_INST (CheckRequiredOrDefault, bool, CHECK_NONFATAL(maybe_arg) ->get_bool();) |
| |
| | TMPL_INST (CheckRequiredOrDefault, int, CHECK_NONFATAL(maybe_arg) ->getInt< int >();) |
| |
| | TMPL_INST (CheckRequiredOrDefault, uint64_t, CHECK_NONFATAL(maybe_arg) ->getInt< uint64_t >();) |
| |
| | TMPL_INST (CheckRequiredOrDefault, uint32_t, CHECK_NONFATAL(maybe_arg) ->getInt< uint32_t >();) |
| |
| | TMPL_INST (CheckRequiredOrDefault, std::string_view, CHECK_NONFATAL(maybe_arg) ->get_str();) |
| |
| static std::optional< UniValue::VType > | ExpectedType (RPCArg::Type type) |
| |
| static std::optional< UniValue::VType > | ExpectedType (RPCResult::Type type) |
| |
| static std::pair< int64_t, int64_t > | ParseRange (const UniValue &value) |
| |
| std::pair< int64_t, int64_t > | ParseDescriptorRange (const UniValue &value) |
| | Parse a JSON range specified as int64, or [int64, int64].
|
| |
| std::vector< CScript > | EvalDescriptorStringOrObject (const UniValue &scanobject, FlatSigningProvider &provider, const bool expand_priv) |
| | Evaluate a descriptor given as a string, or as a {"desc":...,"range":...} object, with default range of 1000.
|
| |
| static UniValue | BilingualStringsToUniValue (const std::vector< bilingual_str > &bilingual_strings) |
| | Convert a vector of bilingual strings to a UniValue::VARR containing their original untranslated values.
|
| |
| void | PushWarnings (const UniValue &warnings, UniValue &obj) |
| | Push warning messages to an RPC "warnings" field as a JSON array of strings.
|
| |
| void | PushWarnings (const std::vector< bilingual_str > &warnings, UniValue &obj) |
| |
| std::vector< RPCResult > | ScriptPubKeyDoc () |
| |
| uint256 | GetTarget (const CBlockIndex &blockindex, const uint256 pow_limit) |
| |