MCPcopy Create free account
hub / github.com/ElementsProject/elements / getNodeCount

Method getNodeCount

src/node/interfaces.cpp:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 void mapPort(bool use_upnp, bool use_natpmp) override { StartMapPort(use_upnp, use_natpmp); }
116 bool getProxy(Network net, Proxy& proxy_info) override { return GetProxy(net, proxy_info); }
117 size_t getNodeCount(ConnectionDirection flags) override
118 {
119 return m_context->connman ? m_context->connman->GetNodeCount(flags) : 0;
120 }
121 bool getNodesStats(NodesStats& stats) override
122 {
123 stats.clear();

Callers 1

getNumConnectionsMethod · 0.80

Calls 1

GetNodeCountMethod · 0.80

Tested by

no test coverage detected