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

Method GetConnectionsCount

src/httpserver.h:238–238  ·  view source on GitHub ↗

* Get the number of HTTPRemoteClients we are connected to */

Source from the content-addressed store, hash-verified

236 * Get the number of HTTPRemoteClients we are connected to
237 */
238 size_t GetConnectionsCount() const { return m_connected_size.load(std::memory_order_acquire); }
239
240 /**
241 * Start the necessary threads for sockets IO.

Callers 2

StopHTTPServerFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

loadMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64