HomePhabricator

Make bitcoind invalid argument error message specific

Description

Make bitcoind invalid argument error message specific

Summary:
The current message is not helpful. Hardly anyone even remembers that
bitcoind used to be a cli utility, let alone new users. Print what the
actual problem is.

This is a backport of Core's PR10447

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 24 2017, 07:28
deadalnixCommitted on Sep 28 2018, 19:16
deadalnixPushed on Sep 28 2018, 19:16
Reviewer
Restricted Project
Differential Revision
D1828: Make bitcoind invalid argument error message specific
Parents
rABCeb0ff7294c40: Various nits in util.cpp
Branches
Unknown
Tags
Unknown

Event Timeline