constcommand_line::arg_descriptor<bool>arg_testnet={"testnet",sw::tr("Used to deploy test nets. The daemon must be launched with --testnet flag"),false};
constcommand_line::arg_descriptor<bool>arg_restricted={"restricted-rpc",sw::tr("Restricts RPC to view only commands"),false};
constcommand_line::arg_descriptor<bool>arg_trusted_daemon={"trusted-daemon",sw::tr("Enable commands which rely on a trusted daemon"),false};
constcommand_line::arg_descriptor<std::string>arg_refresh_type={"refresh-type",sw::tr("Control the wallet refresh speedup/assumptions balance: full (slowest, no assumptions), optimize-coinbase (fast, assumes the whole coinbase is paid to a single address), no-coinbase (fastest, assumes we receive no coinbase transaction)"),"optimize-coinbase"};
m_cmd_binder.set_handler("set",boost::bind(&simple_wallet::set_variable,this,_1),tr("available options: seed language - Set wallet seed langage; always-confirm-transfers <1|0> - whether to confirm unsplit txes; store-tx-info <1|0> - whether to store per outgoing tx info (destination address, payment id, tx secret key) for future reference; default_mixin <n> - set default mixin (default default is 4; auto-refresh <1|0> - whether to automatically refresh new blocks from the daemon"));
m_cmd_binder.set_handler("set",boost::bind(&simple_wallet::set_variable,this,_1),tr("available options: seed language - Set wallet seed langage; always-confirm-transfers <1|0> - whether to confirm unsplit txes; store-tx-info <1|0> - whether to store per outgoing tx info (destination address, payment id, tx secret key) for future reference; default_mixin <n> - set default mixin (default default is 4; auto-refresh <1|0> - whether to automatically refresh new blocks from the daemon; refresh-type <full|optimize-coinbase|no-coinbase|default> - control the wallet refresh speedup/assumptions balance"));
m_cmd_binder.set_handler("rescan_spent",boost::bind(&simple_wallet::rescan_spent,this,_1),tr("Rescan blockchain for spent outputs"));
m_cmd_binder.set_handler("get_tx_key",boost::bind(&simple_wallet::get_tx_key,this,_1),tr("Get transaction key (r) for a given tx"));
m_cmd_binder.set_handler("check_tx_key",boost::bind(&simple_wallet::check_tx_key,this,_1),tr("Check amount going to a given address in a partcular tx"));
fail_msg_writer()<<tr("set refresh-type: needs an argument:")<<
tr("full (slowest, no assumptions), optimize-coinbase (fast, assumes the whole coinbase is paid to a single address), no-coinbase (fastest, assumes we receive no coinbase transaction), default (same as optimize-coinbase)");