aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
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:07 +0000
commitd2fda6c25f476c45acbc875721106f965435d99f (patch)
tree57d87f47240d0d5526e83837cddb26cf4c88fbfa /src/wallet
parentMerge pull request #7151 (diff)
downloadmonero-d2fda6c25f476c45acbc875721106f965435d99f.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 '')
-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 91b3c0535..d80335db8 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -14179,6 +14179,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};