From 0c2824998eee0533eadbcdc83079e7970ace61a9 Mon Sep 17 00:00:00 2001 From: wowario Date: Thu, 2 Feb 2023 00:50:11 +0300 Subject: [PATCH] remove moneropulse urls --- src/checkpoints/checkpoints.cpp | 15 +++------------ src/common/dns_utils.cpp | 2 +- src/p2p/net_node.inl | 7 ------- 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/src/checkpoints/checkpoints.cpp b/src/checkpoints/checkpoints.cpp index d5d020814..fdc3cf727 100644 --- a/src/checkpoints/checkpoints.cpp +++ b/src/checkpoints/checkpoints.cpp @@ -277,22 +277,13 @@ namespace cryptonote std::vector records; // All four MoneroPulse domains have DNSSEC on and valid - static const std::vector dns_urls = { "checkpoints.moneropulse.se" - , "checkpoints.moneropulse.org" - , "checkpoints.moneropulse.net" - , "checkpoints.moneropulse.co" + static const std::vector dns_urls = { "" }; - static const std::vector testnet_dns_urls = { "testpoints.moneropulse.se" - , "testpoints.moneropulse.org" - , "testpoints.moneropulse.net" - , "testpoints.moneropulse.co" + static const std::vector testnet_dns_urls = { "" }; - static const std::vector stagenet_dns_urls = { "stagenetpoints.moneropulse.se" - , "stagenetpoints.moneropulse.org" - , "stagenetpoints.moneropulse.net" - , "stagenetpoints.moneropulse.co" + static const std::vector stagenet_dns_urls = { "" }; if (!tools::dns_utils::load_txt_records_from_dns(records, nettype == TESTNET ? testnet_dns_urls : nettype == STAGENET ? stagenet_dns_urls : dns_urls)) diff --git a/src/common/dns_utils.cpp b/src/common/dns_utils.cpp index 04bd72001..2fd15dbcd 100644 --- a/src/common/dns_utils.cpp +++ b/src/common/dns_utils.cpp @@ -294,7 +294,7 @@ DNSResolver::DNSResolver() : m_data(new DNSResolverData()) // should be a valid DNSSEC record, and switch to known good // DNSSEC resolvers if verification fails bool available, valid; - static const char *probe_hostname = "updates.moneropulse.org"; + static const char *probe_hostname = ""; auto records = get_txt_record(probe_hostname, available, valid); if (!valid) { diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index c746ac7cf..a54c115bc 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -2004,13 +2004,6 @@ namespace nodetool return true; static const std::vector dns_urls = { - "blocklist.moneropulse.se" - , "blocklist.moneropulse.org" - , "blocklist.moneropulse.net" - , "blocklist.moneropulse.no" - , "blocklist.moneropulse.fr" - , "blocklist.moneropulse.de" - , "blocklist.moneropulse.ch" }; std::vector records;