aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-11-24 23:01:46 +0200
committerRiccardo Spagni <ric@spagni.net>2015-11-24 23:01:56 +0200
commit8ff2313f96d950b85f1db7f15402103754b0026a (patch)
tree73154d0901f3f54a6ae718e9720fd08bc0834e1f /src/simplewallet/simplewallet.h
parentMerge pull request #495 (diff)
parentwallet: make the refresh optimizations selectable via command line (diff)
downloadmonero-8ff2313f96d950b85f1db7f15402103754b0026a.tar.xz
Merge pull request #497
9b945f5 wallet: make the refresh optimizations selectable via command line (moneromooo-monero) d2c0313 wallet: speedup refresh from daemon (moneromooo-monero) ea707c7 wallet2: minor cleanup (moneromooo-monero) 55a2da7 wallet2: speedup refresh a bit (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h4
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;