Bitcoin Core
0.21.1
P2P Digital Currency
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
src
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
class
ArgsManager
;
9
10
struct
NodeContext
;
11
12
class
WalletInitInterface
{
13
public
:
15
virtual
bool
HasWalletSupport
()
const
= 0;
17
virtual
void
AddWalletOptions
(
ArgsManager
& argsman)
const
= 0;
19
virtual
bool
ParameterInteraction
()
const
= 0;
21
virtual
void
Construct
(
NodeContext
& node)
const
= 0;
22
23
virtual
~WalletInitInterface
() {}
24
};
25
26
extern
const
WalletInitInterface
&
g_wallet_init_interface
;
27
28
#endif // BITCOIN_WALLETINITINTERFACE_H
ArgsManager
Definition:
system.h:156
WalletInitInterface::Construct
virtual void Construct(NodeContext &node) const =0
Add wallets that should be opened to list of chain clients.
WalletInitInterface::~WalletInitInterface
virtual ~WalletInitInterface()
Definition:
walletinitinterface.h:23
NodeContext
NodeContext struct containing references to chain state and connection state.
Definition:
context.h:36
WalletInitInterface
Definition:
walletinitinterface.h:12
WalletInitInterface::AddWalletOptions
virtual void AddWalletOptions(ArgsManager &argsman) const =0
Get wallet help string.
WalletInitInterface::ParameterInteraction
virtual bool ParameterInteraction() const =0
Check wallet parameter interaction.
WalletInitInterface::HasWalletSupport
virtual bool HasWalletSupport() const =0
Is the wallet component enabled.
g_wallet_init_interface
const WalletInitInterface & g_wallet_init_interface
Definition:
dummywallet.cpp:55
Generated on Fri Apr 30 2021 13:53:48 for Bitcoin Core by
1.8.8