So one priv key express uncompressed and compressed pub key.

Does the latest Bitcoin Core client accepts importing it to express uncompressed address? or it automatically express compressed address?

I have not noticed related parameter for compression options in getnewaddress and importprivkey.

Is this because compressed addresses helps reduce transaction size?

1 Answer 1


You can import an old uncompressed key. It'll work fine. Getnewaddress always uses scripts with 'compressed' keys now. BIP-143 (segwit) style inputs also require compression.

The smaller key format results in smaller transactions, and where it's required and not just optional also simpler code.

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.