[wallet] Add dummy wallet init class

This commit is contained in:
John Newbery
2018-03-27 15:35:54 -04:00
parent 49baa4a462
commit c7ec524389
4 changed files with 29 additions and 23 deletions

View File

@@ -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