MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ClearBanned

Method ClearBanned

src/net.cpp:497–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497void CConnman::ClearBanned()
498{
499 {
500 LOCK(cs_setBanned);
501 setBanned.clear();
502 setBannedIsDirty = true;
503 }
504 DumpBanlist(); //store banlist to disk
505 if(clientInterface)
506 clientInterface->BannedListChanged();
507}
508
509bool CConnman::IsBanned(CNetAddr ip)
510{

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.80
clearbannedFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64