Bitcoin Core  24.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 
10 class ArgsManager;
11 class CChain;
12 class CKey;
13 namespace interfaces {
14 class Chain;
15 } // namespace interfaces
16 
17 namespace wallet {
18 class CWallet;
19 
20 std::unique_ptr<CWallet> CreateSyncedWallet(interfaces::Chain& chain, CChain& cchain, ArgsManager& args, const CKey& key);
21 } // namespace wallet
22 
23 #endif // BITCOIN_WALLET_TEST_UTIL_H
An in-memory indexed chain of blocks.
Definition: chain.h:423
An encapsulated private key.
Definition: key.h:27
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:118
Definition: node.h:39
std::unique_ptr< CWallet > CreateSyncedWallet(interfaces::Chain &chain, CChain &cchain, ArgsManager &args, const CKey &key)
Definition: util.cpp:19
ArgsManager args