aboutsummaryrefslogtreecommitdiff
path: root/src/walletinitinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletinitinterface.h')
-rw-r--r--src/walletinitinterface.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h
index 6f12551273..fb6dcf60d0 100644
--- a/src/walletinitinterface.h
+++ b/src/walletinitinterface.h
@@ -10,6 +10,10 @@
class CScheduler;
class CRPCTable;
+namespace interfaces {
+class Chain;
+} // namespace interfaces
+
class WalletInitInterface {
public:
/** Is the wallet component enabled */
@@ -21,9 +25,9 @@ public:
/** Register wallet RPC*/
virtual void RegisterRPC(CRPCTable &) const = 0;
/** Verify wallets */
- virtual bool Verify() const = 0;
+ virtual bool Verify(interfaces::Chain& chain) const = 0;
/** Open wallets*/
- virtual bool Open() const = 0;
+ virtual bool Open(interfaces::Chain& chain) const = 0;
/** Start wallets*/
virtual void Start(CScheduler& scheduler) const = 0;
/** Flush Wallets*/