diff options
| author | Alexander Blair <snipa@jagtech.io> | 2020-12-26 13:41:41 -0800 |
|---|---|---|
| committer | Alexander Blair <snipa@jagtech.io> | 2020-12-26 13:41:42 -0800 |
| commit | d06bae56b33aad6b1c15584eda14f58510c41f34 (patch) | |
| tree | ebb56f73d9ea8e73d7dc146e0694afdc7e4f878e /src/daemon/rpc_command_executor.cpp | |
| parent | 635ea3df2e77e49b3b60bed3cde91f5b65c12d2b (diff) | |
| parent | d2fda6c25f476c45acbc875721106f965435d99f (diff) | |
| download | monzero-core-d06bae56b33aad6b1c15584eda14f58510c41f34.tar.gz monzero-core-d06bae56b33aad6b1c15584eda14f58510c41f34.tar.xz monzero-core-d06bae56b33aad6b1c15584eda14f58510c41f34.zip | |
Merge pull request #7173
d2fda6c25 restrict public node checks a little (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
| -rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
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) { |
