MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / getNodeCount

Method getNodeCount

src/node/interfaces.cpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 void mapPort(bool enable) override { StartMapPort(enable); }
203 std::optional<Proxy> getProxy(Network net) override { return GetProxy(net); }
204 size_t getNodeCount(ConnectionDirection flags) override
205 {
206 return m_context->connman ? m_context->connman->GetNodeCount(flags) : 0;
207 }
208 bool getNodesStats(NodesStats& stats) override
209 {
210 stats.clear();

Callers 1

getNumConnectionsMethod · 0.80

Calls 1

GetNodeCountMethod · 0.80

Tested by

no test coverage detected