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

Go to the source code of this file.

Namespaces

namespace  wallet
 

Functions

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::PushParentDescriptors (const CWallet &wallet, const CScript &script_pubkey, UniValue &entry)
 Fetch parent descriptors of this scriptPubKey. More...
 
void wallet::HandleWalletError (const std::shared_ptr< CWallet > wallet, DatabaseStatus &status, bilingual_str &error)
 
void wallet::AppendLastProcessedBlock (UniValue &entry, const CWallet &wallet)
 

Variables

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"}