Bitcoin Core
31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
src
walletinitinterface.h
Go to the documentation of this file.
1
// Copyright (c) 2017-present 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
namespace
node
{
11
struct
NodeContext;
12
}
// namespace node
13
14
class
WalletInitInterface
{
15
public
:
17
virtual
bool
HasWalletSupport
()
const
= 0;
19
virtual
void
AddWalletOptions
(
ArgsManager
&
argsman
)
const
= 0;
21
virtual
bool
ParameterInteraction
()
const
= 0;
23
virtual
void
Construct
(
node::NodeContext
&
node
)
const
= 0;
24
25
virtual
~WalletInitInterface
() =
default
;
26
};
27
28
extern
const
WalletInitInterface
&
g_wallet_init_interface
;
29
30
#endif
// BITCOIN_WALLETINITINTERFACE_H
ArgsManager
Definition
args.h:103
WalletInitInterface
Definition
walletinitinterface.h:14
WalletInitInterface::HasWalletSupport
virtual bool HasWalletSupport() const =0
Is the wallet component enabled.
WalletInitInterface::AddWalletOptions
virtual void AddWalletOptions(ArgsManager &argsman) const =0
Get wallet help string.
WalletInitInterface::~WalletInitInterface
virtual ~WalletInitInterface()=default
WalletInitInterface::Construct
virtual void Construct(node::NodeContext &node) const =0
Add wallets that should be opened to list of chain clients.
WalletInitInterface::ParameterInteraction
virtual bool ParameterInteraction() const =0
Check wallet parameter interaction.
node
Definition
messages.h:21
node::NodeContext
NodeContext struct containing references to chain state and connection state.
Definition
context.h:56
Ticks
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition
time.h:73
g_wallet_init_interface
const WalletInitInterface & g_wallet_init_interface
Definition
dummywallet.cpp:55
Generated on Thu Apr 16 2026 09:42:38 for Bitcoin Core by
1.10.0