Bitcoin Core  21.99.0
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 {
25  ArgsManager* args{nullptr};
26 
30  WalletContext();
32 };
33 
34 #endif // BITCOIN_WALLET_CONTEXT_H
interfaces
Definition: dummywallet.cpp:10
WalletContext::WalletContext
WalletContext()
Declare default constructor and destructor that are not inline, so code instantiating the WalletConte...
Definition: context.cpp:7
interfaces::Chain
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:89
ArgsManager
Definition: system.h:162
WalletContext::chain
interfaces::Chain * chain
Definition: context.h:24
WalletContext::args
ArgsManager * args
Definition: context.h:25
WalletContext::~WalletContext
~WalletContext()
Definition: context.cpp:8
WalletContext
WalletContext struct containing references to state shared between CWallet instances,...
Definition: context.h:23