|
|
|
@ -809,6 +809,7 @@ void RPCConsole::banSelectedNode(int bantime)
@@ -809,6 +809,7 @@ void RPCConsole::banSelectedNode(int bantime)
|
|
|
|
|
|
|
|
|
|
CNode::Ban(CNetAddr(addr), BanReasonManuallyAdded, bantime); |
|
|
|
|
bannedNode->fDisconnect = true; |
|
|
|
|
DumpBanlist(); |
|
|
|
|
|
|
|
|
|
clearSelectedNode(); |
|
|
|
|
clientModel->getBanTableModel()->refresh(); |
|
|
|
@ -827,6 +828,7 @@ void RPCConsole::unbanSelectedNode()
@@ -827,6 +828,7 @@ void RPCConsole::unbanSelectedNode()
|
|
|
|
|
if (possibleSubnet.IsValid()) |
|
|
|
|
{ |
|
|
|
|
CNode::Unban(possibleSubnet); |
|
|
|
|
DumpBanlist(); |
|
|
|
|
clientModel->getBanTableModel()->refresh(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|