in3rsha / bitcoin-utxo-dump

Get a list of UTXOs (unspent transaction outputs) from your Bitcoin Core client.
MIT License
241 stars 103 forks source link

Only decompress public keys from P2PK if they will be written #35

Closed ottosch closed 2 years ago

ottosch commented 2 years ago

Hey, issue #32 was solved, but P2PK keys are being decompressed even if they won't be needed. Changing it, so that only happens if script field was selected or (address field was and p2pkaddresses is enabled).