aboutsummaryrefslogtreecommitdiff
path: root/src/walletinitinterface.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-09-07 12:36:53 -0400
committerJohn Newbery <john@johnnewbery.com>2018-09-10 14:27:32 -0400
commit7d038dcb41d93ea0b7401140998225adaab8c065 (patch)
tree88b3a490c0e0b3f8649b22f892be60f60d2f6088 /src/walletinitinterface.h
parent3076556cd0317f7a05fd6836133dd6c051c4b53f (diff)
downloadbitcoin-7d038dcb41d93ea0b7401140998225adaab8c065.tar.xz
[build] remove ENABLE_WALLET ifdef from httprpc.cpp
Diffstat (limited to 'src/walletinitinterface.h')
-rw-r--r--src/walletinitinterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h
index e955816162..6f12551273 100644
--- a/src/walletinitinterface.h
+++ b/src/walletinitinterface.h
@@ -12,6 +12,8 @@ class CRPCTable;
class WalletInitInterface {
public:
+ /** Is the wallet component enabled */
+ virtual bool HasWalletSupport() const = 0;
/** Get wallet help string */
virtual void AddWalletOptions() const = 0;
/** Check wallet parameter interaction */
@@ -34,4 +36,6 @@ public:
virtual ~WalletInitInterface() {}
};
+extern const WalletInitInterface& g_wallet_init_interface;
+
#endif // BITCOIN_WALLETINITINTERFACE_H