mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-08 20:28:51 +00:00
silent dns warning
This commit is contained in:
parent
66d8024b43
commit
3ed6bf8518
@ -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"
|
static const std::vector<std::string> stagenet_dns_urls = {
|
||||||
, "stagenetpoints.moneropulse.org"
|
|
||||||
, "stagenetpoints.moneropulse.net"
|
|
||||||
, "stagenetpoints.moneropulse.co"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!tools::dns_utils::load_txt_records_from_dns(records, nettype == TESTNET ? testnet_dns_urls : nettype == STAGENET ? stagenet_dns_urls : 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)
|
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;
|
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)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,12 +44,8 @@ namespace tools
|
|||||||
|
|
||||||
MDEBUG("Checking updates for " << buildtag << " " << software);
|
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 = {
|
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))
|
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;
|
static const bool use_dns = true;
|
||||||
if (use_dns)
|
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 = {
|
static const std::vector<std::string> dns_urls = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user