If newer versions of bitcoin and or bitcoin cash don't allow 0x04 uncompressed public keys, what do you do if you have an address based on one?

1

So if you have an address with coins in it that uses an uncompressed public key (preceeded by a "04") then how can coins from that wallet be utilized with a network that doesn't allow such public keys? Compressing the public key changes the relevant wallet address and would prevent one from being able to access one's coins at that point. Does bitcoin still allow the "04"? I've read, it seems, that bitcoin cash does not.

Mine

Posted 2017-08-17T02:17:03.950

Reputation: 1 142

seems bitcoin cash does not That would really surprise me. Do you have a link to where you read that?Nick ODell 2017-08-17T02:37:36.713

I hope I misread it, but it is here: https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki#restrictions-on-public-key-type. That was the link I got when I asked for how to make a tx for bitcoin cash, and instead of a full answer, I got that link.

Mine 2017-08-17T04:18:51.140

Yeah, but that's just for segwit.Nick ODell 2017-08-17T04:20:38.933

Doesn't bitcoin cash use segwit and won't bitcoin be using it soon as well? thereby denying the use of addresses made with uncompressed addresses? referenced question; https://bitcoin.stackexchange.com/questions/58012/what-is-the-exact-difference-between-a-bitcoin-and-bitcoin-cash-raw-transaction

Mine 2017-08-17T04:21:57.077

https://www.coindesk.com/whats-left-before-segwit-goes-live-bitcoins-path-more-capacity/ information here, if it is correct, raises the spectre that segwit may become required. It referenced "reject a block that wasn't signaling for SegWit" regarding miners.Mine 2017-08-17T04:26:31.320

UASF and the hardfork Bitcoin Cash implements are mutually exclusive.Nick ODell 2017-08-17T04:35:00.990

I don't know what UASF means, but that article is in reference to bitcoin, not bitcoin cashMine 2017-08-17T05:05:00.223

Let us continue this discussion in chat.

Nick ODell 2017-08-17T05:09:32.743

Answers

1

Uncompressed keys are only disallowed for segwit output types. Since segwit outputs are a completely new type of output that requires new addresses (and a new address type eventually), there won't be any effect on your current addresses and keys. Non-segwit transactions and outputs can still exist and will happen. These transactions will work in the exact same way they do now; you won't be using segwit (and thus not allowed to use uncompressed keys) unless you explicitly go to use it.

Bitcoin Cash does not have segwit, so they are not invalidating uncompressed keys. The only part of BIP 143 that Bitcoin Cash is using is the sighashing algorithm.

Andrew Chow

Posted 2017-08-17T02:17:03.950

Reputation: 40 910