daemon: add unban all command

This commit is contained in:
Rene Guenon
2026-08-11 16:54:47 +04:00
parent 13b63d281c
commit 4b3eabf858
6 changed files with 47 additions and 2 deletions
+6
View File
@@ -2419,6 +2419,12 @@ namespace cryptonote
{
epee::net_utils::network_address na;
if (!i->ban && i->host == "all")
{
m_p2p.clear_bans();
continue;
}
// try subnet first
if (!i->host.empty())
{