dns_utils: factor TXT record loading code from checkpoint code

This commit is contained in:
moneromooo-monero
2017-02-16 20:03:26 +00:00
parent 5892f653c7
commit e8a7525ceb
3 changed files with 110 additions and 104 deletions
+2
View File
@@ -165,6 +165,8 @@ std::vector<std::string> addresses_from_url(const std::string& url, bool& dnssec
std::string get_account_address_as_str_from_url(const std::string& url, bool& dnssec_valid);
bool load_txt_records_from_dns(std::vector<std::string> &records, const std::vector<std::string> &dns_urls);
} // namespace tools::dns_utils
} // namespace tools