diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-29 10:47:53 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-16 11:35:53 +0000 |
| commit | 65c40049633f0c5db3c24af8716bb683520f368c (patch) | |
| tree | 9531d5d4c2cfa4e5a5b1ac35cea13af1b173ccbe /src/daemon/command_server.cpp | |
| parent | 515ac2951d767bdb712c4997010045715902e6ab (diff) | |
| download | monzero-core-65c40049633f0c5db3c24af8716bb683520f368c.tar.gz monzero-core-65c40049633f0c5db3c24af8716bb683520f368c.tar.xz monzero-core-65c40049633f0c5db3c24af8716bb683520f368c.zip | |
allow blocking whole subnets
Diffstat (limited to 'src/daemon/command_server.cpp')
| -rw-r--r-- | src/daemon/command_server.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index f665eec9c..f0b4b4ba0 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -243,10 +243,16 @@ 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) , "flush_txpool [<txid>]" |
