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

Method disconnectByAddress

src/node/interfaces.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 return false;
171 }
172 bool disconnectByAddress(const CNetAddr& net_addr) override
173 {
174 if (m_context->connman) {
175 return m_context->connman->DisconnectNode(net_addr);
176 }
177 return false;
178 }
179 bool disconnectById(NodeId id) override
180 {
181 if (m_context->connman) {

Callers 1

banSelectedNodeMethod · 0.80

Calls 1

DisconnectNodeMethod · 0.80

Tested by

no test coverage detected