Bitcoin Forum
April 30, 2024, 04:09:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Two non-consecutive blocks with the same coinbase tx. How is this possible?  (Read 150 times)
Vlad.Sas (OP)
Member
**
Offline Offline

Activity: 93
Merit: 18


View Profile WWW
August 08, 2023, 10:15:39 PM
Merited by o_e_l_e_o (4)
 #1

Found this tweet here: https://twitter.com/const_quary/status/1689001050865340417

And i checked mempool.space for the specified blocks: https://mempool.space/block/00000000000271a2dc26e7667f8419f2e15416dc6955e5a6c6cdf3f2574dd08e and https://mempool.space/block/00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721

How can two blocks have the same coinbase tx and be so far spread out? Can anyone explain what happened here? Is this the result of some early bitcoin experiments?

1714493365
Hero Member
*
Offline Offline

Posts: 1714493365

View Profile Personal Message (Offline)

Ignore
1714493365
Reply with quote  #2

1714493365
Report to moderator
1714493365
Hero Member
*
Offline Offline

Posts: 1714493365

View Profile Personal Message (Offline)

Ignore
1714493365
Reply with quote  #2

1714493365
Report to moderator
1714493365
Hero Member
*
Offline Offline

Posts: 1714493365

View Profile Personal Message (Offline)

Ignore
1714493365
Reply with quote  #2

1714493365
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714493365
Hero Member
*
Offline Offline

Posts: 1714493365

View Profile Personal Message (Offline)

Ignore
1714493365
Reply with quote  #2

1714493365
Report to moderator
hosseinimr93
Legendary
*
Offline Offline

Activity: 2380
Merit: 5235



View Profile
August 08, 2023, 10:29:34 PM
Last edit: August 08, 2023, 11:08:24 PM by hosseinimr93
Merited by ranochigo (4), o_e_l_e_o (4), ABCbits (3), pooya87 (2), nc50lc (1), DdmrDdmr (1), Charles-Tim (1)
 #2

This was possible before implementation of BIP34, but it's no longer possible.

Before implementation of BIP34, two coinbase transactions could be completely same as each other and could have the same transaction hash.
With implementing BIP34, the scriptsig of any coinbase transaction must contain the block height. As a result, it's no longer possible that two coinbase transactions are identical.

It may worth mentioning that coinbase transactions of blocks number 91722 and 91880 are not only transactions that have the same ID. Coinbase transactions in blocks number 91812 and 91842 are also identical.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Vlad.Sas (OP)
Member
**
Offline Offline

Activity: 93
Merit: 18


View Profile WWW
August 09, 2023, 10:19:43 AM
 #3

Ah i see. Thank you both. I found the answer. It was because block height wasn't yet required to be placed in the coinbase tx. Wild west of old bitcoin network haha.

DaveF
Legendary
*
Online Online

Activity: 3458
Merit: 6250


Crypto Swap Exchange


View Profile WWW
August 09, 2023, 10:53:03 AM
Merited by philipma1957 (2)
 #4

Would not call it the wild west, most like a project in it's early development.
Lots of things within the protocol have matured over time and things that would work / could happen back then no longer can.

So long as things keep changing we will keep seeing things like this. In 15 years there will probably be a post about something that happened in block 802360 with someone trying to figure out how that happened, not knowing that it was changed in a BIP that was implemented in 2030

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
August 10, 2023, 08:42:52 PM
Merited by pooya87 (1), hosseinimr93 (1)
 #5

Before implementation of BIP34, two coinbase transactions could be completely same as each other and could have the same transaction hash.
Minor addition: Prior to the implementation of BIP34, we already had BIP30. BIP30 already prevented two coinbase transactions from having identical transaction hashes unless the first one had been fully spent, which would have prevented the issue here of 100 BTC being destroyed.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!