dns_utils: remove MoneroPulse/checkpoints mention in TXT record code

This code is used for more than just these
This commit is contained in:
moneromooo-monero 2019-02-21 17:37:16 +00:00
parent 31bdf7bd11
commit 7c09882a27
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -514,12 +514,12 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (!avail[cur_index])
{
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])
{
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++;
@ -541,7 +541,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_L0("WARNING: no two valid DNS TXT records were received");
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)
{
LOG_PRINT_L0("WARNING: no two MoneroPulse DNS checkpoint records matched");
LOG_PRINT_L0("WARNING: no two DNS TXT records matched");
return false;
}