diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-07-20 13:55:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-07-20 13:55:59 +0200 |
commit | fc3e135b8387b8aab2eb9917240e7d312c7b0c2f (patch) | |
tree | 269e1979f4c347bacc955857b5837cc637caf009 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #900 (diff) | |
parent | Add a daemon RPC version, and make simplewallet check it (diff) | |
download | monero-fc3e135b8387b8aab2eb9917240e7d312c7b0c2f.tar.xz |
Merge pull request #902
014f3a0 Add a daemon RPC version, and make simplewallet check it (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 97f30834a..7d8e7730c 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -147,7 +147,7 @@ namespace cryptonote bool verify(const std::vector<std::string> &args); uint64_t get_daemon_blockchain_height(std::string& err); - bool try_connect_to_daemon(); + bool try_connect_to_daemon(bool silent = false); bool ask_wallet_create_if_needed(); bool get_address_from_str(const std::string &str, cryptonote::account_public_address &address, bool &has_payment_id, crypto::hash8 &payment_id); @@ -240,6 +240,7 @@ namespace cryptonote bool m_restore_deterministic_wallet; // recover flag bool m_non_deterministic; // old 2-random generation bool m_trusted_daemon; + bool m_allow_mismatched_daemon_version; uint64_t m_restore_height; // optional std::string m_daemon_address; |