<p>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.</p>

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

CC BY-SA 4.0
2019-01-19T18:20:58.777Z
2019-01-19T18:20:58.777Z
G. Maxwell
<p>So one priv key express uncompressed and compressed pub key.</p>

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

<p>I have not noticed related parameter for compression options in getnewaddress and importprivkey.</p>

<p>Is this because compressed addresses helps reduce transaction size?</p>

<bitcoin-core><public-key><address-generation><command-line-options>
Does Bitcoin Core accepts uncompressed address generation?
bitcoinlearner
# Does Bitcoin Core accepts uncompressed address generation?

(Asked by: username_0 on 2019-01-19)

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?

**Tags:** bitcoin-core, public-key, address-generation, command-line-options


---

## 1 answers

### Answer by username_1 on 2019-01-19. Score: 6 | Accepted answer

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.


---

