mirror of
https://github.com/monero-project/monero.git
synced 2025-11-28 02:11:45 -05:00
reload checkpoints file every ~hr and print if any fail
also some other minor bug squashing and code formatting
This commit is contained in:
parent
0e1449135d
commit
30caebfce3
11 changed files with 174 additions and 73 deletions
|
|
@ -252,7 +252,9 @@ namespace nodetool
|
|||
// for some time yet.
|
||||
for (const std::string& addr_str : m_seed_nodes_list)
|
||||
{
|
||||
std::vector<std::string> addr_list = tools::DNSResolver::instance().get_ipv4(addr_str);
|
||||
// TODO: care about dnssec avail/valid
|
||||
bool avail, valid;
|
||||
std::vector<std::string> addr_list = tools::DNSResolver::instance().get_ipv4(addr_str, avail, valid);
|
||||
for (const std::string& a : addr_list)
|
||||
{
|
||||
append_net_address(m_seed_nodes, a + ":18080");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue