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

Method unban

src/node/interfaces.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 return false;
163 }
164 bool unban(const CSubNet& ip) override
165 {
166 if (m_context->banman) {
167 m_context->banman->Unban(ip);
168 return true;
169 }
170 return false;
171 }
172 bool disconnectByAddress(const CNetAddr& net_addr) override
173 {
174 if (m_context->connman) {

Callers 1

unbanSelectedNodeMethod · 0.80

Calls 1

UnbanMethod · 0.80

Tested by

no test coverage detected