mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
silent dns warning
This commit is contained in:
parent
66d8024b43
commit
3ed6bf8518
4 changed files with 5 additions and 12 deletions
|
@ -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))
|
||||
|
|
|
@ -10340,7 +10340,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…
Reference in a new issue