mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Merge pull request #6537
5e0ea6e95
simplewallet: add missing calls to on_command (moneromooo-monero)
This commit is contained in:
commit
61e5208181
1 changed files with 8 additions and 8 deletions
|
@ -3209,10 +3209,10 @@ simple_wallet::simple_wallet()
|
|||
m_cmd_binder.set_handler("sweep_unmixable",
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::sweep_unmixable, _1),
|
||||
tr("Send all unmixable outputs to yourself with ring_size 1"));
|
||||
m_cmd_binder.set_handler("sweep_all", boost::bind(&simple_wallet::sweep_all, this, _1),
|
||||
m_cmd_binder.set_handler("sweep_all", boost::bind(&simple_wallet::on_command, this, &simple_wallet::sweep_all, _1),
|
||||
tr(USAGE_SWEEP_ALL),
|
||||
tr("Send all unlocked balance to an address. If the parameter \"index=<N1>[,<N2>,...]\" or \"index=all\" is specified, the wallet sweeps outputs received by those or all address indices, respectively. If omitted, the wallet randomly chooses an address index to be used. If the parameter \"outputs=<N>\" is specified and N > 0, wallet splits the transaction into N even outputs."));
|
||||
m_cmd_binder.set_handler("sweep_account", boost::bind(&simple_wallet::sweep_account, this, _1),
|
||||
m_cmd_binder.set_handler("sweep_account", boost::bind(&simple_wallet::on_command, this, &simple_wallet::sweep_account, _1),
|
||||
tr(USAGE_SWEEP_ACCOUNT),
|
||||
tr("Send all unlocked balance from a given account to an address. If the parameter \"index=<N1>[,<N2>,...]\" or \"index=all\" is specified, the wallet sweeps outputs received by those or all address indices, respectively. If omitted, the wallet randomly chooses an address index to be used. If the parameter \"outputs=<N>\" is specified and N > 0, wallet splits the transaction into N even outputs."));
|
||||
m_cmd_binder.set_handler("sweep_below",
|
||||
|
@ -3276,7 +3276,7 @@ simple_wallet::simple_wallet()
|
|||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::seed, _1),
|
||||
tr("Display the Electrum-style mnemonic seed"));
|
||||
m_cmd_binder.set_handler("restore_height",
|
||||
boost::bind(&simple_wallet::restore_height, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::restore_height, _1),
|
||||
tr("Display the restore height"));
|
||||
m_cmd_binder.set_handler("set",
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::set_variable, _1),
|
||||
|
@ -3587,7 +3587,7 @@ simple_wallet::simple_wallet()
|
|||
"auto-send <1|0>\n "
|
||||
" Whether to automatically send newly generated messages right away.\n "));
|
||||
m_cmd_binder.set_handler("mms send_signer_config",
|
||||
boost::bind(&simple_wallet::mms, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::mms, _1),
|
||||
tr(USAGE_MMS_SEND_SIGNER_CONFIG),
|
||||
tr("Send completed signer config to all other authorized signers"));
|
||||
m_cmd_binder.set_handler("mms start_auto_config",
|
||||
|
@ -3657,7 +3657,7 @@ simple_wallet::simple_wallet()
|
|||
tr(USAGE_NET_STATS),
|
||||
tr("Prints simple network stats"));
|
||||
m_cmd_binder.set_handler("public_nodes",
|
||||
boost::bind(&simple_wallet::public_nodes, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::public_nodes, _1),
|
||||
tr(USAGE_PUBLIC_NODES),
|
||||
tr("Lists known public nodes"));
|
||||
m_cmd_binder.set_handler("welcome",
|
||||
|
@ -3669,15 +3669,15 @@ simple_wallet::simple_wallet()
|
|||
tr(USAGE_VERSION),
|
||||
tr("Returns version information"));
|
||||
m_cmd_binder.set_handler("rpc_payment_info",
|
||||
boost::bind(&simple_wallet::rpc_payment_info, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::rpc_payment_info, _1),
|
||||
tr(USAGE_RPC_PAYMENT_INFO),
|
||||
tr("Get info about RPC payments to current node"));
|
||||
m_cmd_binder.set_handler("start_mining_for_rpc",
|
||||
boost::bind(&simple_wallet::start_mining_for_rpc, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::start_mining_for_rpc, _1),
|
||||
tr(USAGE_START_MINING_FOR_RPC),
|
||||
tr("Start mining to pay for RPC access"));
|
||||
m_cmd_binder.set_handler("stop_mining_for_rpc",
|
||||
boost::bind(&simple_wallet::stop_mining_for_rpc, this, _1),
|
||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::stop_mining_for_rpc, _1),
|
||||
tr(USAGE_STOP_MINING_FOR_RPC),
|
||||
tr("Stop mining to pay for RPC access"));
|
||||
m_cmd_binder.set_handler("show_qr_code",
|
||||
|
|
Loading…
Reference in a new issue