mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
[wallet] Add dummy wallet init class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user