silent dns warning

pull/88/head
wowario 6 years ago
parent f76ad13b41
commit 1f912c75f1
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -222,10 +222,7 @@ bool checkpoints::load_checkpoints_from_json(const std::string &json_hashfile_fu
};
static const std::vector<std::string> stagenet_dns_urls = { "stagenetpoints.moneropulse.se"
, "stagenetpoints.moneropulse.org"
, "stagenetpoints.moneropulse.net"
, "stagenetpoints.moneropulse.co"
static const std::vector<std::string> 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))

@ -505,7 +505,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (num_valid_records < 2)
{
LOG_PRINT_L0("WARNING: no two valid MoneroPulse DNS checkpoint records were received");
LOG_PRINT_L2("WARNING: no two valid Wownero DNS checkpoint records were received");
return false;
}
@ -527,7 +527,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (good_records_index < 0)
{
LOG_PRINT_L0("WARNING: no two MoneroPulse DNS checkpoint records matched");
LOG_PRINT_L2("WARNING: no two Wownero DNS checkpoint records matched");
return false;
}

@ -44,12 +44,8 @@ namespace tools
MDEBUG("Checking updates for " << buildtag << " " << software);
// All four MoneroPulse domains have DNSSEC on and valid
// All four Wownero domains have DNSSEC on and valid
static const std::vector<std::string> dns_urls = {
"updates.moneropulse.org",
"updates.moneropulse.net",
"updates.moneropulse.co",
"updates.moneropulse.se"
};
if (!tools::dns_utils::load_txt_records_from_dns(records, dns_urls))

@ -10495,7 +10495,7 @@ uint64_t wallet2::get_segregation_fork_height() const
static const bool use_dns = true;
if (use_dns)
{
// All four MoneroPulse domains have DNSSEC on and valid
// All four Wownero domains have DNSSEC on and valid
static const std::vector<std::string> dns_urls = {
};

Loading…
Cancel
Save