diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-21 11:16:43 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-21 11:16:43 +0200 |
commit | d11dbe7dc24c8ab30afc2ce6b004885979ee8be6 (patch) | |
tree | 878f7b040b6fa675f6f117b0b7ca285570c4ceb1 /src/common/dns_utils.h | |
parent | Merge pull request #1737 (diff) | |
parent | core: updates can now be downloaded (and SHA256 hash checked) (diff) | |
download | monero-d11dbe7dc24c8ab30afc2ce6b004885979ee8be6.tar.xz |
Merge pull request #1744
a5a0a3c8 core: updates can now be downloaded (and SHA256 hash checked) (moneromooo-monero)
216f062e util: add a SHA256 function (moneromooo-monero)
4bf78492 mlog: only silence errors for net by default, not net.* (moneromooo-monero)
d282cfcc core: test key images against validity domain (moneromooo-monero)
efb72e74 http_client: add a couple consts (moneromooo-monero)
f640512c Optionally query moneropulse DNS records to check for updates (moneromooo-monero)
e3cae4ae core: display any fork warning at startup too (moneromooo-monero)
969ad710 dns_utils: fix first checked DNS entry being ignored (moneromooo-monero)
08c3f380 util: add a vercmp function to compare version numbers (moneromooo-monero)
e8a7525c dns_utils: factor TXT record loading code from checkpoint code (moneromooo-monero)
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 |