diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-16 20:03:26 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-20 22:57:57 +0000 |
| commit | e8a7525cebf5c8b00aa3cffa14221640acaa43f3 (patch) | |
| tree | 78b75323dfb8b634603c6f05e6bf0784688d6a0b /src/common/dns_utils.h | |
| parent | 5892f653c74aa3bcf29540e35754df8d6522a0d6 (diff) | |
| download | monzero-core-e8a7525cebf5c8b00aa3cffa14221640acaa43f3.tar.gz monzero-core-e8a7525cebf5c8b00aa3cffa14221640acaa43f3.tar.xz monzero-core-e8a7525cebf5c8b00aa3cffa14221640acaa43f3.zip | |
dns_utils: factor TXT record loading code from checkpoint code
Diffstat (limited to 'src/common/dns_utils.h')
| -rw-r--r-- | src/common/dns_utils.h | 2 |
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 |
