aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-20 12:48:34 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-22 23:39:19 +0000
commit5c3e84b6aee15bc0bfd4074181d793d065d5fa96 (patch)
tree345b67757844af651887b894deb8743279eccda9 /src/wallet/wallet2.cpp
parentMerge pull request #7152 (diff)
downloadmonero-5c3e84b6aee15bc0bfd4074181d793d065d5fa96.tar.xz
restrict public node checks a little
do not include blocked hosts in peer lists or public node lists by default, warn about no https on clearnet and about untrusted peers likely being spies
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 299e427ce..a004c8855 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -14159,6 +14159,7 @@ std::vector<cryptonote::public_node> wallet2::get_public_nodes(bool white_only)
req.white = true;
req.gray = !white_only;
+ req.include_blocked = false;
{
const boost::lock_guard<boost::recursive_mutex> lock{m_daemon_rpc_mutex};