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

Method disconnectByAddress

src/node/interfaces.cpp:259–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 return false;
258 }
259 bool disconnectByAddress(const CNetAddr& net_addr) override
260 {
261 if (m_context->connman) {
262 return m_context->connman->DisconnectNode(net_addr);
263 }
264 return false;
265 }
266 bool disconnectById(NodeId id) override
267 {
268 if (m_context->connman) {

Callers 1

banSelectedNodeMethod · 0.80

Calls 1

DisconnectNodeMethod · 0.80

Tested by

no test coverage detected