-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Make bitcoind invalid argument error message specific #10447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make bitcoind invalid argument error message specific #10447
Conversation
|
I guess most users already interpret utACK 8ec3a6bebb7c7d2a739e8827e3e0509638172504 |
Yeah.... "somewhere" :-) |
|
utACK 8ec3a6b |
src/bitcoind.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another realization - why are we checking for "bitcoin:" URLs at all bitcoind.cpp? Shouldn't they be treated as invalid tokens as well?
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.
8ec3a6b to
cd5622d
Compare
|
utACK cd5622d |
1 similar comment
|
utACK cd5622d |
cd5622d Make bitcoind invalid argument error message specific (Wladimir J. van der Laan) Tree-SHA512: 78999b9359685c4090f9a112e1d02bdddac22173f5f04600773b042acb9481ebb54d0f73d9d6d74249f845f497927a58d59de69bf33e3dccf096c3c80c7ebf6b
…cific cd5622d Make bitcoind invalid argument error message specific (Wladimir J. van der Laan) Tree-SHA512: 78999b9359685c4090f9a112e1d02bdddac22173f5f04600773b042acb9481ebb54d0f73d9d6d74249f845f497927a58d59de69bf33e3dccf096c3c80c7ebf6b
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.
Inspired by discussion here: #10402 (comment)
Also remove the check for
bitcoin:URIs. The expected output when accidentally passing abitcoin:URI tobitcoindinstead ofbitcoin-qtwould be an error not silent acceptance.