Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions | Variables
backup.cpp File Reference
#include <chain.h>
#include <clientversion.h>
#include <core_io.h>
#include <interfaces/chain.h>
#include <key_io.h>
#include <merkleblock.h>
#include <rpc/util.h>
#include <script/descriptor.h>
#include <script/script.h>
#include <script/standard.h>
#include <sync.h>
#include <util/bip32.h>
#include <util/system.h>
#include <util/time.h>
#include <util/translation.h>
#include <wallet/rpc/util.h>
#include <wallet/wallet.h>
#include <stdint.h>
#include <tuple>
#include <boost/algorithm/string.hpp>
#include <univalue.h>
Include dependency graph for backup.cpp:

Go to the source code of this file.

Classes

struct  wallet::ImportData
 

Namespaces

 wallet
 

Enumerations

enum  wallet::ScriptContext { wallet::ScriptContext::TOP, wallet::ScriptContext::P2SH, wallet::ScriptContext::WITNESS_V0 }
 

Functions

static std::string wallet::EncodeDumpString (const std::string &str)
 
static std::string wallet::DecodeDumpString (const std::string &str)
 
static bool wallet::GetWalletAddressesForKey (const LegacyScriptPubKeyMan *spk_man, const CWallet &wallet, const CKeyID &keyid, std::string &strAddr, std::string &strLabel) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 
static void wallet::RescanWallet (CWallet &wallet, const WalletRescanReserver &reserver, int64_t time_begin=TIMESTAMP_MIN, bool update=true)
 
RPCHelpMan wallet::importprivkey ()
 
RPCHelpMan wallet::importaddress ()
 
RPCHelpMan wallet::importprunedfunds ()
 
RPCHelpMan wallet::removeprunedfunds ()
 
RPCHelpMan wallet::importpubkey ()
 
RPCHelpMan wallet::importwallet ()
 
RPCHelpMan wallet::dumpprivkey ()
 
RPCHelpMan wallet::dumpwallet ()
 
static std::string wallet::RecurseImportData (const CScript &script, ImportData &import_data, const ScriptContext script_ctx)
 
static UniValue wallet::ProcessImportLegacy (ImportData &import_data, std::map< CKeyID, CPubKey > &pubkey_map, std::map< CKeyID, CKey > &privkey_map, std::set< CScript > &script_pub_keys, bool &have_solving_data, const UniValue &data, std::vector< CKeyID > &ordered_pubkeys)
 
static UniValue wallet::ProcessImportDescriptor (ImportData &import_data, std::map< CKeyID, CPubKey > &pubkey_map, std::map< CKeyID, CKey > &privkey_map, std::set< CScript > &script_pub_keys, bool &have_solving_data, const UniValue &data, std::vector< CKeyID > &ordered_pubkeys)
 
static UniValue wallet::ProcessImport (CWallet &wallet, const UniValue &data, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 
static int64_t wallet::GetImportTimestamp (const UniValue &data, int64_t now)
 
RPCHelpMan wallet::importmulti ()
 
static UniValue wallet::ProcessDescriptorImport (CWallet &wallet, const UniValue &data, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 
RPCHelpMan wallet::importdescriptors ()
 
RPCHelpMan wallet::listdescriptors ()
 
RPCHelpMan wallet::backupwallet ()
 
RPCHelpMan wallet::restorewallet ()
 

Variables

static const int64_t wallet::TIMESTAMP_MIN = 0