Closed y closed 8 years ago
Thanks for this suggestion, great idea. I've added an option --ignore-input-errors
to continue processing the input in the event of errors. Base58 decoding errors are now output to stderr like the other types of errors (this was a bug), so you can filter them out with 2>&1
if required.
I'm trying to recover a private key and know most of it and am using a program to generate the possible full private keys. So I'm calling bitcoin-tool like so:
But bitcoin-tool exits when it encounters any keys which fail to decode properly with base58check, so I'm forced to call bitcoin-tool in a shell script for each individual key, which is a lot slower. Is it possible to add an option to just skip invalid input when under batch mode?