diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 19:03:10 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-22 19:03:10 +0000 |
commit | 9b945f52111cdb22fb17e7fe5cba223ebb8be2af (patch) | |
tree | 23062b088392cf70a66464b5e04d2b42603558ad /src/simplewallet/simplewallet.h | |
parent | wallet: speedup refresh from daemon (diff) | |
download | monero-9b945f52111cdb22fb17e7fe5cba223ebb8be2af.tar.xz |
wallet: make the refresh optimizations selectable via command line
Take the opportunity to add a no-coinbase case too, for even faster
sync when an address is known to never have mined to.
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 94ad724be..2ad54d4ca 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -73,7 +73,7 @@ namespace cryptonote bool process_command(const std::vector<std::string> &args); std::string get_commands_str(); private: - void handle_command_line(const boost::program_options::variables_map& vm); + bool handle_command_line(const boost::program_options::variables_map& vm); bool run_console_handler(); @@ -222,6 +222,8 @@ namespace cryptonote std::string m_daemon_host; int m_daemon_port; + tools::wallet2::RefreshType m_refresh_type; + epee::console_handlers_binder m_cmd_binder; std::unique_ptr<tools::wallet2> m_wallet; |