mirror of
https://github.com/monero-project/monero.git
synced 2025-12-27 05:03:14 -08:00
allow blocking whole subnets
This commit is contained in:
@@ -243,9 +243,15 @@ t_command_server::t_command_server(
|
||||
m_command_lookup.set_handler(
|
||||
"unban"
|
||||
, std::bind(&t_command_parser_executor::unban, &m_parser, p::_1)
|
||||
, "unban <IP>"
|
||||
, "unban <address>"
|
||||
, "Unban a given <IP>."
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"banned"
|
||||
, std::bind(&t_command_parser_executor::banned, &m_parser, p::_1)
|
||||
, "banned <address>"
|
||||
, "Check whether an <address> is banned."
|
||||
);
|
||||
m_command_lookup.set_handler(
|
||||
"flush_txpool"
|
||||
, std::bind(&t_command_parser_executor::flush_txpool, &m_parser, p::_1)
|
||||
|
||||
Reference in New Issue
Block a user