Bitcoin Forum
April 26, 2024, 12:58:51 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?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714093131
Hero Member
*
Offline Offline

Posts: 1714093131

View Profile Personal Message (Offline)

Ignore
1714093131
Reply with quote  #2

1714093131
Report to moderator
xhomerx10
Legendary
*
Offline Offline

Activity: 3822
Merit: 7968



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: 3374
Merit: 6535


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: 3822
Merit: 7968



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!