aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-02 23:30:20 +0400
committerRiccardo Spagni <ric@spagni.net>2017-10-02 23:30:20 +0400
commit5f430cedd8b638af4901b3c7751e5ea601e83da5 (patch)
treeb39986be57acf74f446d6dab9b050cf22f63d61a /src/simplewallet
parentMerge pull request #2513 (diff)
parentsimplewallet: add privacy warning when using an untrusted demon (diff)
downloadmonero-5f430cedd8b638af4901b3c7751e5ea601e83da5.tar.xz
Merge pull request #2515
c34093db simplewallet: add privacy warning when using an untrusted demon (moneromooo-monero)
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 339ce6b93..b7d6a82bf 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1426,6 +1426,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
}
catch (const std::exception &e) { }
+ if (!m_trusted_daemon)
+ message_writer() << (boost::format(tr("Warning: using an untrusted daemon at %s, privacy will be lessened")) % m_wallet->get_daemon_address()).str();
+
m_http_client.set_server(m_wallet->get_daemon_address(), m_wallet->get_daemon_login());
m_wallet->callback(this);