Bitcoin Forum
May 08, 2024, 12:17:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Version 2 of transaction  (Read 1463 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
May 12, 2016, 03:51:10 AM
Merited by ABCbits (2)
 #1

In block 209920 is one transaction, its version=2. What changes of format?
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
1715127462
Hero Member
*
Offline Offline

Posts: 1715127462

View Profile Personal Message (Offline)

Ignore
1715127462
Reply with quote  #2

1715127462
Report to moderator
xhomerx10
Legendary
*
Offline Offline

Activity: 3836
Merit: 8008



View Profile
May 12, 2016, 03:55:35 AM
 #2


Version 1 was introduced in the genesis block (January 2009).


•Version 2 was introduced in Bitcoin Core 0.7.0 (September 2012) as a soft fork. As described in BIP34, valid version 2 blocks require a block height parameter in the coinbase. Also described in BIP34 are rules for rejecting certain blocks; based on those rules, Bitcoin Core 0.7.0 and later versions began to reject version 2 blocks without the block height in coinbase at block height 224,412 (March 2013) and began to reject new version 1 blocks three weeks later at block height 227,930.


•Version 3 blocks were introduced in Bitcoin Core 0.10.0 (February 2015) as a soft fork. When the fork reach full enforcement (July 2015), it required strict DER encoding of all ECDSA signatures in new blocks as described in BIP66. Transactions that do not use strict DER encoding had previously been non-standard since Bitcoin Core 0.8.0 (February 2012).

•Version 4 blocks specified in BIP65 and introduced in Bitcoin Core 0.11.2
•(November 2015) as a soft fork became active in December 2015. These blocks now support the new OP_CHECKLOCKTIMEVERIFY opcode described in that BIP.

per the Bitcoin Developer Reference
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
May 12, 2016, 04:10:22 AM
 #3


Version 1 was introduced in the genesis block (January 2009).


•Version 2 was introduced in Bitcoin Core 0.7.0 (September 2012) as a soft fork. As described in BIP34, valid version 2 blocks require a block height parameter in the coinbase. Also described in BIP34 are rules for rejecting certain blocks; based on those rules, Bitcoin Core 0.7.0 and later versions began to reject version 2 blocks without the block height in coinbase at block height 224,412 (March 2013) and began to reject new version 1 blocks three weeks later at block height 227,930.


•Version 3 blocks were introduced in Bitcoin Core 0.10.0 (February 2015) as a soft fork. When the fork reach full enforcement (July 2015), it required strict DER encoding of all ECDSA signatures in new blocks as described in BIP66. Transactions that do not use strict DER encoding had previously been non-standard since Bitcoin Core 0.8.0 (February 2012).

•Version 4 blocks specified in BIP65 and introduced in Bitcoin Core 0.11.2
•(November 2015) as a soft fork became active in December 2015. These blocks now support the new OP_CHECKLOCKTIMEVERIFY opcode described in that BIP.

per the Bitcoin Developer Reference
He's taking about the coinbase transaction being version two instead of version one, not the block version.


There of no difference between version one and that transaction that is supposedly version two. It is the same format, just that the miner changed the version number to two. I'm guessing it had to do with a bug in the mining software since the block version number was being bumped to two as well around that time.

xhomerx10
Legendary
*
Offline Offline

Activity: 3836
Merit: 8008



View Profile
May 12, 2016, 02:12:13 PM
 #4


Version 1 was introduced in the genesis block (January 2009).


•Version 2 was introduced in Bitcoin Core 0.7.0 (September 2012) as a soft fork. As described in BIP34, valid version 2 blocks require a block height parameter in the coinbase. Also described in BIP34 are rules for rejecting certain blocks; based on those rules, Bitcoin Core 0.7.0 and later versions began to reject version 2 blocks without the block height in coinbase at block height 224,412 (March 2013) and began to reject new version 1 blocks three weeks later at block height 227,930.


•Version 3 blocks were introduced in Bitcoin Core 0.10.0 (February 2015) as a soft fork. When the fork reach full enforcement (July 2015), it required strict DER encoding of all ECDSA signatures in new blocks as described in BIP66. Transactions that do not use strict DER encoding had previously been non-standard since Bitcoin Core 0.8.0 (February 2012).

•Version 4 blocks specified in BIP65 and introduced in Bitcoin Core 0.11.2
•(November 2015) as a soft fork became active in December 2015. These blocks now support the new OP_CHECKLOCKTIMEVERIFY opcode described in that BIP.

per the Bitcoin Developer Reference
He's taking about the coinbase transaction being version two instead of version one, not the block version.


There of no difference between version one and that transaction that is supposedly version two. It is the same format, just that the miner changed the version number to two. I'm guessing it had to do with a bug in the mining software since the block version number was being bumped to two as well around that time.

 Thanks.  I see it now.  I never thought to look at the raw transaction.
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!