diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-03 21:34:16 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-04 14:32:40 +0000 |
commit | b40392fb0264371d3e73b3e2babadf6c9517bbc7 (patch) | |
tree | 8e92a228b6e1e0f1ac815941421af4d993f1ce67 /src/wallet/wallet2.h | |
parent | Merge pull request #5390 (diff) | |
download | monero-b40392fb0264371d3e73b3e2babadf6c9517bbc7.tar.xz |
wallet2: add --no-dns flag
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 2eb7de94a..6d8ee474a 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1279,6 +1279,7 @@ namespace tools void hash_m_transfer(const transfer_details & transfer, crypto::hash &hash) const; uint64_t hash_m_transfers(int64_t transfer_height, crypto::hash &hash) const; void finish_rescan_bc_keep_key_images(uint64_t transfer_height, const crypto::hash &hash); + void enable_dns(bool enable) { m_use_dns = enable; } private: /*! @@ -1457,6 +1458,7 @@ namespace tools std::string m_device_name; std::string m_device_derivation_path; uint64_t m_device_last_key_image_sync; + bool m_use_dns; // Aux transaction data from device std::unordered_map<crypto::hash, std::string> m_tx_device; |