alecalve / python-bitcoin-blockchain-parser

A Python 3 Bitcoin blockchain parser
Other
449 stars 191 forks source link

Indicate wheter an address uses compressed or uncompressed public key #1

Open alecalve opened 8 years ago

alecalve commented 8 years ago

Add a boolean property to the Address class indicating wheter an address uses compressed or uncompressed public key. If the public key for the address is unknown, an exception should be raised.

Giszmo commented 5 years ago

Did anybody ever work on this? I want to know how many bitcoins are trapped in addresses known to be segwit derived from uncompressed keys like in this. How hard would it be, given that the pubkey only gets revealed at spend?