diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-07-24 13:47:41 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-07-24 13:47:41 -0500 |
| commit | 1880c1a58290cde589fe6db1062284ddba294483 (patch) | |
| tree | 896c03bef52795675c79bbd421b8f47c5fab869e /src/daemon/command_server.cpp | |
| parent | 97ffc6dabdcd12be221d1f710d346d99f55f8ea8 (diff) | |
| parent | 65c40049633f0c5db3c24af8716bb683520f368c (diff) | |
| download | monzero-core-1880c1a58290cde589fe6db1062284ddba294483.tar.gz monzero-core-1880c1a58290cde589fe6db1062284ddba294483.tar.xz monzero-core-1880c1a58290cde589fe6db1062284ddba294483.zip | |
Merge pull request #5363
515ac29 p2p: store network address directly in blocked host list (moneromooo-monero)
65c4004 allow blocking whole subnets (moneromooo-monero)
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>]" |
