Bitcoin ABC  0.29.2
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
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:123
WalletContext struct containing references to state shared between CWallet instances,...
Definition: context.h:23
ArgsManager * args
Definition: context.h:25
WalletContext()
Declare default constructor and destructor that are not inline, so code instantiating the WalletConte...
Definition: context.cpp:7
~WalletContext()
Definition: context.cpp:8
interfaces::Chain * chain
Definition: context.h:24