diff options
Diffstat (limited to 'src/walletinitinterface.h')
-rw-r--r-- | src/walletinitinterface.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h index 95c51a4f49..47e4e2cce1 100644 --- a/src/walletinitinterface.h +++ b/src/walletinitinterface.h @@ -34,4 +34,18 @@ public: virtual ~WalletInitInterface() {} }; +class DummyWalletInit : public WalletInitInterface { +public: + + std::string GetHelpString(bool showDebug) override {return std::string{};} + bool ParameterInteraction() override {return true;} + void RegisterRPC(CRPCTable &) override {} + bool Verify() override {return true;} + bool Open() override {return true;} + void Start(CScheduler& scheduler) override {} + void Flush() override {} + void Stop() override {} + void Close() override {} +}; + #endif // WALLETINITINTERFACE_H |