Bitcoin Core 31.99.0
P2P Digital Currency
Classes | Namespaces | Functions
export.h File Reference
#include <threadsafety.h>
#include <util/expected.h>
#include <wallet/wallet.h>
#include <optional>
#include <vector>
Include dependency graph for export.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wallet::WalletDescInfo
 

Namespaces

namespace  wallet
 

Functions

util::Expected< std::vector< WalletDescInfo >, std::string > wallet::ExportDescriptors (const CWallet &wallet, bool export_private) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 Export the descriptors from a wallet so that they can be imported elsewhere. More...
 
util::Result< std::string > wallet::ExportWatchOnlyWallet (const CWallet &wallet, const fs::path &destination, WalletContext &context) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)
 Make a new watchonly wallet file containing the public descriptors from this wallet The exported watchonly wallet file will be named and placed at the path specified in 'destination'. More...