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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user