Merge pull request #5179

7c09882a dns_utils: remove MoneroPulse/checkpoints mention in TXT record code (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-03-17 17:53:53 +02:00
commit 6031a1f5b4
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -514,12 +514,12 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (!avail[cur_index]) if (!avail[cur_index])
{ {
records[cur_index].clear(); records[cur_index].clear();
LOG_PRINT_L2("DNSSEC not available for checkpoint update at URL: " << url << ", skipping."); LOG_PRINT_L2("DNSSEC not available for hostname: " << url << ", skipping.");
} }
if (!valid[cur_index]) if (!valid[cur_index])
{ {
records[cur_index].clear(); records[cur_index].clear();
LOG_PRINT_L2("DNSSEC validation failed for checkpoint update at URL: " << url << ", skipping."); LOG_PRINT_L2("DNSSEC validation failed for hostname: " << url << ", skipping.");
} }
cur_index++; cur_index++;
@ -541,7 +541,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (num_valid_records < 2) if (num_valid_records < 2)
{ {
LOG_PRINT_L0("WARNING: no two valid MoneroPulse DNS checkpoint records were received"); LOG_PRINT_L0("WARNING: no two valid DNS TXT records were received");
return false; return false;
} }
@ -563,7 +563,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (good_records_index < 0) if (good_records_index < 0)
{ {
LOG_PRINT_L0("WARNING: no two MoneroPulse DNS checkpoint records matched"); LOG_PRINT_L0("WARNING: no two DNS TXT records matched");
return false; return false;
} }