Author

Topic: Reuse of pub key hashes in coinbase outputs (Read 683 times)

hero member
Activity: 906
Merit: 1034
BTC: the beginning of stake-based public resources
September 23, 2016, 11:22:06 PM
#6
Thanks, so have we hit the 75% threshold now as per BIP 34? I.e. are all blocks now numbered removing the ambiguity about referencing the coinbase if it uses a duplicate pub key hash in its output?

EDIT: Ah, yes. Missed it at the bottom of the BIP 34 description: "Block number 227,835 (timestamp 2013-03-24 15:49:13 GMT) was the last version 1 block."
legendary
Activity: 4542
Merit: 3393
Vile Vixen and Miss Bitcointalk 2021-2023
September 23, 2016, 08:37:14 AM
#5
But that's irrelevant now due to requiring the block height in the coinbase, which will thus make coinbase transactions unique. BIP 34: https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki
Yes, that must be what I was thinking of. (It seems I recall fewer details of it than I thought I did.)
staff
Activity: 3458
Merit: 6793
Just writing some code
September 23, 2016, 08:25:00 AM
#4
No... Where did you hear that? There is nothing special about a coinbase output. It is still spent from in the same way.
Actually, there's something very special about coinbase transactions: it's possible for two of them to be identical, if they have the same outputs. Normal transactions cannot possibly be identical as they must spend different inputs, but coinbase transactions have no inputs to distinguish them. Identical coinbase transactions are problematic because only one copy of the transaction can be spent; all others simply destroy the coins. Miners have indeed accidentally lost money this way. OP is asking about the soft-fork to make blocks with identical coinbases invalid, which I don't recall the details of.
But that's irrelevant now due to requiring the block height in the coinbase, which will thus make coinbase transactions unique. BIP 34: https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki
legendary
Activity: 4542
Merit: 3393
Vile Vixen and Miss Bitcointalk 2021-2023
September 23, 2016, 08:21:03 AM
#3
No... Where did you hear that? There is nothing special about a coinbase output. It is still spent from in the same way.
Actually, there's something very special about coinbase transactions: it's possible for two of them to be identical, if they have the same outputs. Normal transactions cannot possibly be identical as they must spend different inputs, but coinbase transactions have no inputs to distinguish them. Identical coinbase transactions are problematic because only one copy of the transaction can be spent; all others simply destroy the coins. Miners have indeed accidentally lost money this way. OP is asking about the soft-fork to make blocks with identical coinbases invalid, which I don't recall the details of.
staff
Activity: 3458
Merit: 6793
Just writing some code
September 23, 2016, 07:34:30 AM
#2
No... Where did you hear that? There is nothing special about a coinbase output. It is still spent from in the same way.
hero member
Activity: 906
Merit: 1034
BTC: the beginning of stake-based public resources
September 23, 2016, 07:30:34 AM
#1
I remember reading somewhere that at a certain block depth the network began enforcing that coinbase output addresses could not re-used because this was causing problems. Something to do with referencing the second coinbase with the same pub key hash, meaning the bitcoins in this second coinbase effectively became undependable.

Sorry to be so vague but is this correct and if so why? If not is it closely related to a similar constraint for coinbase outputs?
Jump to: