![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <addresstype.h>#include <wallet/db.h>#include <wallet/scriptpubkeyman.h>#include <memory>Go to the source code of this file.
Classes | |
| class | wallet::MockableCursor |
| class | wallet::MockableBatch |
| class | wallet::MockableDatabase |
| A WalletDatabase whose contents and return values can be modified as needed for testing. More... | |
Namespaces | |
| namespace | interfaces |
| namespace | wallet |
Typedefs | |
| using | wallet::MockableData = std::map< SerializeData, SerializeData, std::less<> > |
Functions | |
| std::unique_ptr< CWallet > | wallet::CreateSyncedWallet (interfaces::Chain &chain, CChain &cchain, const CKey &key) |
| std::shared_ptr< CWallet > | wallet::TestLoadWallet (WalletContext &context) |
| std::shared_ptr< CWallet > | wallet::TestLoadWallet (std::unique_ptr< WalletDatabase > database, WalletContext &context, uint64_t create_flags) |
| void | wallet::TestUnloadWallet (std::shared_ptr< CWallet > &&wallet) |
| std::unique_ptr< WalletDatabase > | wallet::DuplicateMockDatabase (WalletDatabase &database) |
| std::string | wallet::getnewaddress (CWallet &w) |
| Returns a new encoded destination from the wallet (hardcoded to BECH32) More... | |
| CTxDestination | wallet::getNewDestination (CWallet &w, OutputType output_type) |
| Returns a new destination, of an specific type, from the wallet. More... | |
| std::unique_ptr< WalletDatabase > | wallet::CreateMockableWalletDatabase (MockableData records) |
| MockableDatabase & | wallet::GetMockableDatabase (CWallet &wallet) |
| wallet::DescriptorScriptPubKeyMan * | wallet::CreateDescriptor (CWallet &keystore, const std::string &desc_str, const bool success) |
Variables | |
| static const DatabaseFormat | wallet::DATABASE_FORMATS [] |
| const std::string | wallet::ADDRESS_BCRT1_UNSPENDABLE = "bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq3xueyj" |