Skip to content

Commit

Permalink
Merge pull request #5179
Browse files Browse the repository at this point in the history
7c09882 dns_utils: remove MoneroPulse/checkpoints mention in TXT record code (moneromooo-monero)
  • Loading branch information
fluffypony committed Mar 17, 2019
2 parents fd23122 + 7c09882 commit 6031a1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/dns_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand All @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 6031a1f

Please sign in to comment.