{"action":"opened","issue":{"url":"https://api.github.com/repos/matja/bitcoin-tool/issues/12","labels_url":"https://api.github.com/repos/matja/bitcoin-tool/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/matja/bitcoin-tool/issues/12/comments","events_url":"https://api.github.com/repos/matja/bitcoin-tool/issues/12/events","html_url":"https://github.com/matja/bitcoin-tool/issues/12","id":124192135,"number":12,"title":"option to skip invalid inputs when in batch mode","user":{"login":"y","id":172322,"avatar_url":"https://avatars.githubusercontent.com/u/172322?v=3","gravatar_id":"","url":"https://api.github.com/users/y","html_url":"https://github.com/y","followers_url":"https://api.github.com/users/y/followers","following_url":"https://api.github.com/users/y/following{/other_user}","gists_url":"https://api.github.com/users/y/gists{/gist_id}","starred_url":"https://api.github.com/users/y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y/subscriptions","organizations_url":"https://api.github.com/users/y/orgs","repos_url":"https://api.github.com/users/y/repos","events_url":"https://api.github.com/users/y/events{/privacy}","received_events_url":"https://api.github.com/users/y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-29T10:28:49Z","updated_at":"2015-12-29T10:28:49Z","closed_at":null,"body":"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:\r\n\r\n    ./generate-keys | bitcoin-tool --batch --network bitcoin --input-type private-key-wif --input-format base58check --input-file - --output-type address --output-format base58check --public-key-compression compressed\r\n\r\nBut 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?"}}