aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-09-25 01:15:28 -0400
committerThomas Winget <tewinget@gmail.com>2014-09-30 16:21:37 -0400
commit30caebfce3a2445b809125a541cc9958b07d02f5 (patch)
tree64b640979d79d553dd3be7554154373afd7e98e4 /src/p2p
parentupdated DNSResolver/things that use it for DNSSEC (diff)
downloadmonero-30caebfce3a2445b809125a541cc9958b07d02f5.tar.xz
reload checkpoints file every ~hr and print if any fail
also some other minor bug squashing and code formatting
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 08fd1d1e6..2953bdb7a 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -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");