aboutsummaryrefslogtreecommitdiff
path: root/src/walletinitinterface.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-04-13 14:02:59 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-04-13 14:02:59 +0100
commit1936125671fbdb3411fcdf0d09fbd7ced32272e6 (patch)
treeb401fc0f2c1130ad508581ff4127f090ed14466f /src/walletinitinterface.h
parent39439e5ab4195bb1abebd2c8b1ac702bc33c2e60 (diff)
wallet: Make WalletInitInterface members const
Diffstat (limited to 'src/walletinitinterface.h')
-rw-r--r--src/walletinitinterface.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h
index c7eee37ce5..5bfde6faaf 100644
--- a/src/walletinitinterface.h
+++ b/src/walletinitinterface.h
@@ -13,23 +13,23 @@ class CRPCTable;
class WalletInitInterface {
public:
/** Get wallet help string */
- virtual std::string GetHelpString(bool showDebug) = 0;
+ virtual std::string GetHelpString(bool showDebug) const = 0;
/** Check wallet parameter interaction */
- virtual bool ParameterInteraction() = 0;
+ virtual bool ParameterInteraction() const = 0;
/** Register wallet RPC*/
- virtual void RegisterRPC(CRPCTable &) = 0;
+ virtual void RegisterRPC(CRPCTable &) const = 0;
/** Verify wallets */
- virtual bool Verify() = 0;
+ virtual bool Verify() const = 0;
/** Open wallets*/
- virtual bool Open() = 0;
+ virtual bool Open() const = 0;
/** Start wallets*/
- virtual void Start(CScheduler& scheduler) = 0;
+ virtual void Start(CScheduler& scheduler) const = 0;
/** Flush Wallets*/
- virtual void Flush() = 0;
+ virtual void Flush() const = 0;
/** Stop Wallets*/
- virtual void Stop() = 0;
+ virtual void Stop() const = 0;
/** Close wallets */
- virtual void Close() = 0;
+ virtual void Close() const = 0;
virtual ~WalletInitInterface() {}
};