Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 WALLETINITINTERFACE_H
6 #define WALLETINITINTERFACE_H
7 
8 #include <string>
9 
10 class CScheduler;
11 class CRPCTable;
12 
14 public:
16  virtual std::string GetHelpString(bool showDebug) = 0;
18  virtual bool ParameterInteraction() = 0;
20  virtual void RegisterRPC(CRPCTable &) = 0;
22  virtual bool Verify() = 0;
24  virtual bool Open() = 0;
26  virtual void Start(CScheduler& scheduler) = 0;
28  virtual void Flush() = 0;
30  virtual void Stop() = 0;
32  virtual void Close() = 0;
33 
34  // Dash Specific WalletInitInterface
35  virtual void AutoLockMasternodeCollaterals() = 0;
36  virtual void InitPrivateSendSettings() = 0;
37  virtual void InitKeePass() = 0;
38  virtual bool InitAutoBackup() = 0;
39 
40  virtual ~WalletInitInterface() {}
41 };
42 
43 #endif // WALLETINITINTERFACE_H
virtual void RegisterRPC(CRPCTable &)=0
Register wallet RPC.
Dash RPC command dispatcher.
Definition: server.h:140
virtual void Close()=0
Close wallets.
virtual void Flush()=0
Flush Wallets.
static CScheduler scheduler
Definition: init.cpp:213
virtual void InitKeePass()=0
virtual void Start(CScheduler &scheduler)=0
Start wallets.
virtual std::string GetHelpString(bool showDebug)=0
Get wallet help string.
virtual bool Verify()=0
Verify wallets.
virtual bool ParameterInteraction()=0
Check wallet parameter interaction.
virtual void InitPrivateSendSettings()=0
virtual bool InitAutoBackup()=0
virtual void AutoLockMasternodeCollaterals()=0
virtual void Stop()=0
Stop Wallets.
virtual bool Open()=0
Open wallets.
Released under the MIT license