aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.cpp
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-12-26 13:59:09 -0800
committerAlexander Blair <snipa@jagtech.io>2020-12-26 13:59:09 -0800
commitcbeaeb904b174b6c786c0ace2e8309a12957d2aa (patch)
treee2120db2228dd613fc84d1783b4eeeb18fbdbb0d /src/daemon/rpc_command_executor.cpp
parentMerge pull request #7161 (diff)
parentrestrict public node checks a little (diff)
downloadmonero-cbeaeb904b174b6c786c0ace2e8309a12957d2aa.tar.xz
Merge pull request #7174
5c3e84b6a restrict public node checks a little (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--src/daemon/rpc_command_executor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index adaa9bc0e..04feb55fd 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -191,6 +191,9 @@ bool t_rpc_command_executor::print_peer_list(bool white, bool gray, size_t limit
cryptonote::COMMAND_RPC_GET_PEER_LIST::response res;
std::string failure_message = "Couldn't retrieve peer list";
+
+ req.include_blocked = true;
+
if (m_is_rpc)
{
if (!m_rpc_client->rpc_request(req, res, "/get_peer_list", failure_message.c_str()))
@@ -237,6 +240,7 @@ bool t_rpc_command_executor::print_peer_list_stats() {
std::string failure_message = "Couldn't retrieve peer list";
req.public_only = false;
+ req.include_blocked = true;
if (m_is_rpc)
{