diff options
author | John Newbery <john@johnnewbery.com> | 2018-03-27 15:35:54 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-03-27 15:35:54 -0400 |
commit | c7ec5243892c38f9f77781b0e24a237942e7c776 (patch) | |
tree | 6f93e2bee23ecac7fc1c03d63713e1575304a02e /src/walletinitinterface.h | |
parent | 49baa4a462193d8d82b51d464740aa5f1114edf1 (diff) |
[wallet] Add dummy wallet init class
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 |