BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
walletinitinterface.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2018 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 #include <string>
9 
10 class CScheduler;
11 class CRPCTable;
12 
14 public:
16  virtual bool HasWalletSupport() const = 0;
18  virtual void AddWalletOptions() const = 0;
20  virtual bool ParameterInteraction() const = 0;
22  virtual void RegisterRPC(CRPCTable &) const = 0;
24  virtual bool Verify() const = 0;
26  virtual bool Open() const = 0;
28  virtual void Start(CScheduler& scheduler) const = 0;
30  virtual void Flush() const = 0;
32  virtual void Stop() const = 0;
34  virtual void Close() const = 0;
35 
36  virtual ~WalletInitInterface() {}
37 };
38 
40 
41 #endif // BITCOIN_WALLETINITINTERFACE_H
Bitcoin RPC command dispatcher.
Definition: server.h:143
virtual void RegisterRPC(CRPCTable &) const =0
Register wallet RPC.
virtual void Start(CScheduler &scheduler) const =0
Start wallets.
virtual void Close() const =0
Close wallets.
virtual bool Verify() const =0
Verify wallets.
virtual bool Open() const =0
Open wallets.
virtual bool ParameterInteraction() const =0
Check wallet parameter interaction.
virtual bool HasWalletSupport() const =0
Is the wallet component enabled.
virtual void Flush() const =0
Flush Wallets.
const WalletInitInterface & g_wallet_init_interface
Definition: dummywallet.cpp:35
virtual void Stop() const =0
Stop Wallets.
virtual void AddWalletOptions() const =0
Get wallet help string.