#include <wallet/rpc/backup.h>
#include <chain.h>
#include <common/args.h>
#include <config.h>
#include <core_io.h>
#include <interfaces/chain.h>
#include <key_io.h>
#include <merkleblock.h>
#include <rpc/server.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/fs.h>
#include <util/fs_helpers.h>
#include <util/time.h>
#include <util/translation.h>
#include <wallet/rpc/util.h>
#include <wallet/rpcwallet.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
#include <algorithm>
#include <cstdint>
#include <fstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
Go to the source code of this file.
|
static std::string | EncodeDumpString (const std::string &str) |
|
static std::string | DecodeDumpString (const std::string &str) |
|
static bool | GetWalletAddressesForKey (const Config &config, LegacyScriptPubKeyMan *spk_man, const CWallet *const pwallet, const CKeyID &keyid, std::string &strAddr, std::string &strLabel) EXCLUSIVE_LOCKS_REQUIRED(pwallet -> cs_wallet) |
|
static void | RescanWallet (CWallet &wallet, const WalletRescanReserver &reserver, int64_t time_begin=TIMESTAMP_MIN, bool update=true) |
|
RPCHelpMan | importprivkey () |
|
RPCHelpMan | abortrescan () |
|
RPCHelpMan | importaddress () |
|
RPCHelpMan | importprunedfunds () |
|
RPCHelpMan | removeprunedfunds () |
|
RPCHelpMan | importpubkey () |
|
RPCHelpMan | importwallet () |
|
RPCHelpMan | dumpprivkey () |
|
RPCHelpMan | dumpwallet () |
|
static RPCHelpMan | dumpcoins () |
|
static std::string | RecurseImportData (const CScript &script, ImportData &import_data, const ScriptContext script_ctx) |
|
static UniValue | ProcessImportLegacy (CWallet *const pwallet, 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 | 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 | ProcessImport (CWallet *const pwallet, const UniValue &data, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(pwallet -> cs_wallet) |
|
static int64_t | GetImportTimestamp (const UniValue &data, int64_t now) |
|
static std::string | GetRescanErrorMessage (const std::string &object, const int64_t objectTimestamp, const int64_t blockTimestamp) |
|
RPCHelpMan | importmulti () |
|
static UniValue | ProcessDescriptorImport (CWallet *const pwallet, const UniValue &data, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(pwallet -> cs_wallet) |
|
RPCHelpMan | importdescriptors () |
|
RPCHelpMan | backupwallet () |
|
RPCHelpMan | restorewallet () |
|
Span< const CRPCCommand > | GetWalletDumpRPCCommands () |
|
◆ ScriptContext
Enumerator |
---|
TOP | Top-level scriptPubKey.
|
P2SH | P2SH redeemScript.
|
Definition at line 1177 of file backup.cpp.
◆ abortrescan()
◆ backupwallet()
◆ DecodeDumpString()
static std::string DecodeDumpString |
( |
const std::string & |
str | ) |
|
|
static |
◆ dumpcoins()
◆ dumpprivkey()
◆ dumpwallet()
◆ EncodeDumpString()
static std::string EncodeDumpString |
( |
const std::string & |
str | ) |
|
|
static |
◆ GetImportTimestamp()
◆ GetRescanErrorMessage()
static std::string GetRescanErrorMessage |
( |
const std::string & |
object, |
|
|
const int64_t |
objectTimestamp, |
|
|
const int64_t |
blockTimestamp |
|
) |
| |
|
static |
◆ GetWalletAddressesForKey()
◆ GetWalletDumpRPCCommands()
◆ importaddress()
◆ importdescriptors()
◆ importmulti()
◆ importprivkey()
◆ importprunedfunds()
◆ importpubkey()
◆ importwallet()
◆ ProcessDescriptorImport()
◆ ProcessImport()
◆ ProcessImportDescriptor()
◆ ProcessImportLegacy()
◆ RecurseImportData()
◆ removeprunedfunds()
◆ RescanWallet()
◆ restorewallet()
◆ TIMESTAMP_MIN