2

I was wondering when compressed public keys were introduced to bitcoin, then I saw this quote from this answer:

The original Bitcoin software didn't use compressed keys only because their use was poorly documented in OpenSSL.

I hadn't heard about this before but it would make sense, otherwise introducing compressed public keys would have required a hard fork. Is that correct?

1 Answer 1

4

The original Bitcoin software used OpenSSL for verifying (and creating signatures) as a black box. Whatever OpenSSL accepted was accepted in blocks and transactions.

OpenSSL accepted both compressed and uncompressed public keys, since forever. However the wallet code only used uncompressed ones.

When this was discovered, all that was needed was switching the wallet software to start using compressed keys, which happened in version 0.5. No consensus rule change was needed, as unknowingly, the implicitly defined rules already supported them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.