aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-07-28 22:50:07 -0400
committerRussell Yanofsky <russ@yanofsky.org>2019-02-22 15:43:02 -0400
commit00dfb2a440b94a24b61cafb519fb122f6a0ae176 (patch)
tree203e03944bd1a1975671bf2faa0f16b6cf0d22eb /src/interfaces/chain.h
parentcc3836e8f90894432db06d9de6b20eac53d93cbe (diff)
Remove uses of g_connman in wallet code
This commit does not change behavior.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 96e4f8cf0b..44a0b1743e 100644
--- a/src/interfaces/chain.h
+++ b/src/interfaces/chain.h
@@ -158,6 +158,9 @@ public:
//! Check if pruning is enabled.
virtual bool getPruneMode() = 0;
+
+ //! Check if p2p enabled.
+ virtual bool p2pEnabled() = 0;
};
//! Interface to let node manage chain clients (wallets, or maybe tools for