Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Functions
util.cpp File Reference
#include <wallet/test/util.h>
#include <chain.h>
#include <key.h>
#include <key_io.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <validationinterface.h>
#include <wallet/context.h>
#include <wallet/wallet.h>
#include <wallet/walletdb.h>
#include <memory>
Include dependency graph for util.cpp:

Go to the source code of this file.


struct  wallet::BytePrefix




std::unique_ptr< CWallet > wallet::CreateSyncedWallet (interfaces::Chain &chain, CChain &cchain, const CKey &key)
std::shared_ptr< CWallet > wallet::TestLoadWallet (std::unique_ptr< WalletDatabase > database, WalletContext &context, uint64_t create_flags)
std::shared_ptr< CWallet > wallet::TestLoadWallet (WalletContext &context)
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...
bool wallet::operator< (BytePrefix a, Span< const std::byte > b)
bool wallet::operator< (Span< const std::byte > a, BytePrefix b)
std::unique_ptr< WalletDatabase > wallet::CreateMockableWalletDatabase (MockableData records)
MockableDatabase & wallet::GetMockableDatabase (CWallet &wallet)