File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ BITCOIN_CORE_H = \
161
161
validation.h \
162
162
validationinterface.h \
163
163
versionbits.h \
164
+ walletinitinterface.h \
164
165
wallet/coincontrol.h \
165
166
wallet/crypter.h \
166
167
wallet/db.h \
Original file line number Diff line number Diff line change
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
+
13
+ class WalletInitInterface {
14
+ public:
15
+ /* * Get wallet help string */
16
+ virtual std::string GetHelpString (bool showDebug) = 0;
17
+ /* * Check wallet parameter interaction */
18
+ virtual bool ParameterInteraction () = 0;
19
+ /* * Register wallet RPC*/
20
+ virtual void RegisterRPC (CRPCTable &) = 0;
21
+ /* * Verify wallets */
22
+ virtual bool Verify () = 0;
23
+ /* * Open wallets*/
24
+ virtual bool Open () = 0;
25
+ /* * Start wallets*/
26
+ virtual void Start (CScheduler& scheduler) = 0;
27
+ /* * Flush Wallets*/
28
+ virtual void Flush () = 0;
29
+ /* * Stop Wallets*/
30
+ virtual void Stop () = 0;
31
+ /* * Close wallets */
32
+ virtual void Close () = 0;
33
+
34
+ virtual ~WalletInitInterface () {}
35
+ };
36
+
37
+ #endif // WALLETINITINTERFACE_H
You can’t perform that action at this time.
0 commit comments