Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <any>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
std::shared_ptr< CWallet > | GetWalletForJSONRPCRequest (const JSONRPCRequest &request) |
Figures out what wallet, if any, to use for a JSONRPCRequest. | |
bool | GetWalletNameFromJSONRPCRequest (const JSONRPCRequest &request, std::string &wallet_name) |
void | EnsureWalletIsUnlocked (const CWallet *) |
WalletContext & | EnsureWalletContext (const std::any &context) |
LegacyScriptPubKeyMan & | EnsureLegacyScriptPubKeyMan (CWallet &wallet, bool also_create=false) |
bool | GetAvoidReuseFlag (const CWallet *const wallet, const UniValue ¶m) |
bool | ParseIncludeWatchonly (const UniValue &include_watchonly, const CWallet &wallet) |
Used by RPC commands that have an include_watchonly parameter. | |
std::string | LabelFromValue (const UniValue &value) |
std::tuple< std::shared_ptr< CWallet >, std::vector< bilingual_str > > | LoadWalletHelper (WalletContext &context, UniValue load_on_start_param, const std::string wallet_name) |
Variables | |
const std::string | HELP_REQUIRING_PASSPHRASE |
LegacyScriptPubKeyMan & EnsureLegacyScriptPubKeyMan | ( | CWallet & | wallet, |
bool | also_create = false |
||
) |
WalletContext & EnsureWalletContext | ( | const std::any & | context | ) |
std::shared_ptr< CWallet > GetWalletForJSONRPCRequest | ( | const JSONRPCRequest & | request | ) |
Figures out what wallet, if any, to use for a JSONRPCRequest.
[in] | request | JSONRPCRequest that wishes to access a wallet |
Definition at line 63 of file util.cpp.
bool GetWalletNameFromJSONRPCRequest | ( | const JSONRPCRequest & | request, |
std::string & | wallet_name | ||
) |
std::string LabelFromValue | ( | const UniValue & | value | ) |
std::tuple< std::shared_ptr< CWallet >, std::vector< bilingual_str > > LoadWalletHelper | ( | WalletContext & | context, |
UniValue | load_on_start_param, | ||
const std::string | wallet_name | ||
) |