From c77de622dd8ef458f73b1a01a34629a7c4f49358 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Wed, 16 Oct 2019 17:37:19 +0000 Subject: net: Replace enum CConnMan::NumConnections with enum class ConnectionDirection --- src/interfaces/node.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/node.h b/src/interfaces/node.h index 15f7ef6256..1dd1e92e2f 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -6,9 +6,10 @@ #define BITCOIN_INTERFACES_NODE_H #include // For CAmount -#include // For CConnman::NumConnections +#include // For NodeId #include // For banmap_t #include // For Network +#include // For ConnectionDirection #include // For SecureString #include @@ -88,7 +89,7 @@ public: virtual bool getProxy(Network net, proxyType& proxy_info) = 0; //! Get number of connections. - virtual size_t getNodeCount(CConnman::NumConnections flags) = 0; + virtual size_t getNodeCount(ConnectionDirection flags) = 0; //! Get stats for connected nodes. using NodesStats = std::vector>; -- cgit v1.2.3