aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-15 09:17:26 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-15 09:17:26 +0200
commit8bf0a3f1232784295daaa0a839d34a59276f2ed1 (patch)
treed2327c69e441a744f2bf1b4342b2f66539ac063c /src/wallet/wallet2.h
parentMerge pull request #5395 (diff)
parentwallet2: add --no-dns flag (diff)
downloadmonero-8bf0a3f1232784295daaa0a839d34a59276f2ed1.tar.xz
Merge pull request #5396
b40392fb wallet2: add --no-dns flag (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index a57f869c5..39380c9df 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1290,6 +1290,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:
/*!
@@ -1472,6 +1473,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;