aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-16 20:03:26 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-20 22:57:57 +0000
commite8a7525cebf5c8b00aa3cffa14221640acaa43f3 (patch)
tree78b75323dfb8b634603c6f05e6bf0784688d6a0b /src/common/dns_utils.h
parentMerge pull request #1729 (diff)
downloadmonero-e8a7525cebf5c8b00aa3cffa14221640acaa43f3.tar.xz
dns_utils: factor TXT record loading code from checkpoint code
Diffstat (limited to '')
-rw-r--r--src/common/dns_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index 6ecf5595c..2e881f0e0 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -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