mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
wallet: Make WalletInitInterface members const
This commit is contained in:
parent
39439e5ab4
commit
1936125671
3 changed files with 36 additions and 36 deletions
18
src/init.cpp
18
src/init.cpp
|
|
@ -76,15 +76,15 @@ std::unique_ptr<PeerLogicValidation> peerLogic;
|
|||
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 {LogPrintf("No wallet support compiled in!\n"); return true;}
|
||||
void Start(CScheduler& scheduler) override {}
|
||||
void Flush() override {}
|
||||
void Stop() override {}
|
||||
void Close() override {}
|
||||
std::string GetHelpString(bool showDebug) const override {return std::string{};}
|
||||
bool ParameterInteraction() const override {return true;}
|
||||
void RegisterRPC(CRPCTable &) const override {}
|
||||
bool Verify() const override {return true;}
|
||||
bool Open() const override {LogPrintf("No wallet support compiled in!\n"); return true;}
|
||||
void Start(CScheduler& scheduler) const override {}
|
||||
void Flush() const override {}
|
||||
void Stop() const override {}
|
||||
void Close() const override {}
|
||||
};
|
||||
|
||||
static DummyWalletInit g_dummy_wallet_init;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue