Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
walletinitinterface.h
Go to the documentation of this file.
1// Copyright (c) 2017 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
8class ArgsManager;
9
10namespace node {
11struct NodeContext;
12} // namespace node
13
15public:
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
26};
27
29
30#endif // BITCOIN_WALLETINITINTERFACE_H
virtual bool HasWalletSupport() const =0
Is the wallet component enabled.
virtual void AddWalletOptions(ArgsManager &argsman) const =0
Get wallet help string.
virtual void Construct(node::NodeContext &node) const =0
Add wallets that should be opened to list of chain clients.
virtual bool ParameterInteraction() const =0
Check wallet parameter interaction.
Definition init.h:28
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
NodeContext struct containing references to chain state and connection state.
Definition context.h:43
const WalletInitInterface & g_wallet_init_interface