diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-21 19:00:27 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-22 14:20:55 +0000 |
commit | 3f5fb6fe6df90afc581257c8cefe1aea53e60706 (patch) | |
tree | 0c9bff217648478e501131e94c8b24fae05e2e3f /src/simplewallet/simplewallet.h | |
parent | Merge pull request #3429 (diff) | |
download | monero-3f5fb6fe6df90afc581257c8cefe1aea53e60706.tar.xz |
simplewallet: add --untrusted-daemon option
Diffstat (limited to '')
-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 f26f69353..ef4ecb1fd 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -228,6 +228,7 @@ namespace cryptonote bool print_ring_members(const std::vector<tools::wallet2::pending_tx>& ptx_vector, std::ostream& ostr); std::string get_prompt() const; bool print_seed(bool encrypted); + bool is_daemon_trusted() const { return *m_trusted_daemon; } /*! * \brief Prints the seed with a nice message @@ -330,7 +331,7 @@ namespace cryptonote bool m_restore_deterministic_wallet; // recover flag bool m_restore_multisig_wallet; // recover flag bool m_non_deterministic; // old 2-random generation - bool m_trusted_daemon; + boost::optional<bool> m_trusted_daemon; bool m_allow_mismatched_daemon_version; bool m_restoring; // are we restoring, by whatever method? uint64_t m_restore_height; // optional |