Bitcoin Core  0.20.99
P2P Digital Currency
context.h
Go to the documentation of this file.
1 // Copyright (c) 2020 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_CONTEXT_H
6 #define BITCOIN_WALLET_CONTEXT_H
7 
8 class ArgsManager;
9 namespace interfaces {
10 class Chain;
11 } // namespace interfaces
12 
23 struct WalletContext {
24  interfaces::Chain* chain{nullptr};
25  ArgsManager* args{nullptr};
26 
30  WalletContext();
31  ~WalletContext();
32 };
33 
34 #endif // BITCOIN_WALLET_CONTEXT_H
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:83
WalletContext struct containing references to state shared between CWallet instances, like the reference to the chain interface, and the list of opened wallets.
Definition: context.h:23