Bitcoin Core 22.99.0
P2P Digital Currency
util.h
Go to the documentation of this file.
1// Copyright (c) 2021 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_WALLET_TEST_UTIL_H
6#define BITCOIN_WALLET_TEST_UTIL_H
7
8#include <memory>
9
10class CChain;
11class CKey;
12class CWallet;
13namespace interfaces {
14class Chain;
15} // namespace interfaces
16
17std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, const CKey& key);
18
19#endif // BITCOIN_WALLET_TEST_UTIL_H
An in-memory indexed chain of blocks.
Definition: chain.h:410
An encapsulated private key.
Definition: key.h:27
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition: wallet.h:229
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:93
std::unique_ptr< CWallet > CreateSyncedWallet(interfaces::Chain &chain, CChain &cchain, const CKey &key)
Definition: util.cpp:18