Bitcoin Core  27.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 <hash.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/solver.h>
#include <sync.h>
#include <uint256.h>
#include <util/bip32.h>
#include <util/fs.h>
#include <util/time.h>
#include <util/translation.h>
#include <wallet/rpc/util.h>
#include <wallet/wallet.h>
#include <cstdint>
#include <fstream>
#include <tuple>
#include <string>
#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 class  wallet::ScriptContext { wallet::TOP , wallet::P2SH , wallet::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)
 
static void wallet::EnsureBlockDataFromTime (const CWallet &wallet, int64_t timestamp)
 
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