[monero-project/monero] wallet: distinguish coinbase from other txes in show_transfers (#4153)

stoffu commented on this pull request.

> uint64_t min_height = 0;
uint64_t max_height = (uint64_t)-1;
boost::optional subaddr_index;

if(local_args.size() > 4) {
— fail_msg_writer() << tr("usage: show_transfers [in|out|all|pending|failed] [index=[,,…]] [ []]»);
+ fail_msg_writer() << tr("usage: show_transfers [in|out|all|pending|failed|coinbase] [index=[,,…]] [ []]»);

The help message in `m_cmd_binder.set_handler(«show_transfers», …)` needs updating as well. Also, the branch for
«`c++
if (local_args[0] == «coinbase») {
«`
needs to be added.

Добавить комментарий