Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
util.h File Reference
#include <rpc/util.h>
#include <script/script.h>
#include <wallet/wallet.h>
#include <any>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#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

namespace  wallet

Functions

std::shared_ptr< CWalletwallet::GetWalletForJSONRPCRequest (const JSONRPCRequest &request)
 Figures out what wallet, if any, to use for a JSONRPCRequest.
bool wallet::GetWalletNameFromJSONRPCRequest (const JSONRPCRequest &request, std::string &wallet_name)
std::string wallet::EnsureUniqueWalletName (const JSONRPCRequest &request, std::optional< std::string_view > wallet_name)
 Ensures that a wallet name is specified across the endpoint and wallet_name.
void wallet::EnsureWalletIsUnlocked (const CWallet &wallet)
WalletContextwallet::EnsureWalletContext (const std::any &context)
bool wallet::GetAvoidReuseFlag (const CWallet &wallet, const UniValue &param)
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.
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 RPCResult wallet::RESULT_LAST_PROCESSED_BLOCK