Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions | Variables
util.cpp File Reference
#include <wallet/rpc/util.h>
#include <rpc/util.h>
#include <util/translation.h>
#include <util/url.h>
#include <wallet/context.h>
#include <wallet/wallet.h>
#include <univalue.h>
Include dependency graph for util.cpp:

Go to the source code of this file.




bool wallet::GetAvoidReuseFlag (const CWallet &wallet, const UniValue &param)
bool wallet::ParseIncludeWatchonly (const UniValue &include_watchonly, const CWallet &wallet)
 Used by RPC commands that have an include_watchonly parameter. More...
bool wallet::GetWalletNameFromJSONRPCRequest (const JSONRPCRequest &request, std::string &wallet_name)
std::shared_ptr< CWallet > wallet::GetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 Figures out what wallet, if any, to use for a JSONRPCRequest. More...
void wallet::EnsureWalletIsUnlocked (const CWallet &wallet)
WalletContext & wallet::EnsureWalletContext (const std::any &context)
LegacyScriptPubKeyMan & wallet::EnsureLegacyScriptPubKeyMan (CWallet &wallet, bool also_create)
const LegacyScriptPubKeyMan & wallet::EnsureConstLegacyScriptPubKeyMan (const CWallet &wallet)
std::string wallet::LabelFromValue (const UniValue &value)
void wallet::HandleWalletError (const std::shared_ptr< CWallet > wallet, DatabaseStatus &status, bilingual_str &error)


static const std::string wallet::WALLET_ENDPOINT_BASE = "/wallet/"
const std::string wallet::HELP_REQUIRING_PASSPHRASE {"\nRequires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.\n"}