Bitcoin Core  0.19.99
P2P Digital Currency
walletinitinterface.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2019 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_WALLETINITINTERFACE_H
6 #define BITCOIN_WALLETINITINTERFACE_H
7 
8 struct NodeContext;
9 
11 public:
13  virtual bool HasWalletSupport() const = 0;
15  virtual void AddWalletOptions() const = 0;
17  virtual bool ParameterInteraction() const = 0;
19  virtual void Construct(NodeContext& node) const = 0;
20 
21  virtual ~WalletInitInterface() {}
22 };
23 
25 
26 #endif // BITCOIN_WALLETINITINTERFACE_H
virtual void Construct(NodeContext &node) const =0
Add wallets that should be opened to list of chain clients.
NodeContext struct containing references to chain state and connection state.
Definition: context.h:31
virtual bool ParameterInteraction() const =0
Check wallet parameter interaction.
virtual bool HasWalletSupport() const =0
Is the wallet component enabled.
const WalletInitInterface & g_wallet_init_interface
Definition: dummywallet.cpp:58
virtual void AddWalletOptions() const =0
Get wallet help string.