HomePhabricator

rpc generate: print useful help and error message

Description

rpc generate: print useful help and error message

Summary:
PR rationale:

This was a requested follow-up to #19133 and #17700 to alleviate confusion and head-scratching by people following tutorials that use generate.

test: consider generate covered in _get_uncovered_rpc_commands()

rpc: print useful help and error message for generate

test: add rpc_generate functional test

This is a backport of core#19455

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10091

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jul 7 2020, 09:56
PiRKCommitted on Sep 14 2021, 16:34
PiRKPushed on Sep 14 2021, 16:34
Reviewer
Restricted Project
Differential Revision
D10091: rpc generate: print useful help and error message
Parents
rABC53106ad51363: -maxapsfee: follow-up fixes
Branches
Unknown
Tags
Unknown