diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-09-17 17:26:51 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-23 22:58:21 +0200 |
commit | a5757a628f0da0affae66345a5f3209a44613d56 (patch) | |
tree | 6ece4938a2c6346803346587ec2ea792cbd34ab2 /src/wallet/wallet2.h | |
parent | seed node DNS code updated to use DNSResolver (diff) | |
download | monero-a5757a628f0da0affae66345a5f3209a44613d56.tar.xz |
Monero addres from DNS TXT record implemented, tests pass
Still need to deal with DNSSEC and optional fields in the TXT record.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 3311e3438..6e6d7cafb 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -196,6 +196,9 @@ namespace tools static bool parse_payment_id(const std::string& payment_id_str, crypto::hash& payment_id); + static std::string address_from_url(const std::string& url, bool& dnssec_valid); + + static std::string address_from_txt_record(const std::string& s); private: bool store_keys(const std::string& keys_file_name, const std::string& password); void load_keys(const std::string& keys_file_name, const std::string& password); |