Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions
util.h File Reference
#include <any>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wallet
 

Functions

std::shared_ptr< CWallet > wallet::GetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 Figures out what wallet, if any, to use for a JSONRPCRequest. More...
 
bool wallet::GetWalletNameFromJSONRPCRequest (const JSONRPCRequest &request, std::string &wallet_name)
 
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)
 
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...
 
std::string wallet::LabelFromValue (const UniValue &value)
 
void wallet::HandleWalletError (const std::shared_ptr< CWallet > wallet, DatabaseStatus &status, bilingual_str &error)