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 
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
interfaces
Definition: dummywallet.cpp:10
wallet
Definition: node.h:38
interfaces::Chain
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:94
CChain
An in-memory indexed chain of blocks.
Definition: chain.h:417
CKey
An encapsulated private key.
Definition: key.h:26
wallet::CreateSyncedWallet
std::unique_ptr< CWallet > CreateSyncedWallet(interfaces::Chain &chain, CChain &cchain, ArgsManager &args, const CKey &key)
Definition: util.cpp:19
ArgsManager
Definition: system.h:158
args
ArgsManager args
Definition: notifications.cpp:36