Bitcoin Core  27.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 <boost/date_time/posix_time/posix_time.hpp>
Include dependency graph for util.cpp:

Go to the source code of this file.




int64_t wallet::ParseISO8601DateTime (const std::string &str)
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) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)


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