mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 11:15:16 -04:00
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
This commit is contained in:
parent
3bd6ed94d7
commit
d2fda6c25f
7 changed files with 68 additions and 11 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue