Bitcoin Forum
February 21, 2026, 10:37:57 PM *
News: Community awards 2025
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [testnet]Different wersions of block  (Read 429 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
July 29, 2017, 09:17:39 AM
Merited by ABCbits (1)
 #1

On testnet I have map where appears new version:
https://drive.google.com/open?id=0B7E799YMGCWTWkF1cE8taEo1ZVU
What is technical difference between version 1 and 0x20000000 for example?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3892
Merit: 7608


Just writing some code


View Profile WWW
July 29, 2017, 06:53:51 PM
 #2

Different block versions are present in both testnet and mainnet. It is used for signaling to activate soft forks. The first block version is version 1. Previous soft forks used a system called IsSuperMajority (ISM). These used fixed version numbers, consuming numbers 2, 3, and 4. We now use a new soft fork mechanism called BIP 9 Versionbits. BIP 9 specifies that all version numbers must have the top 3 bits of the version number be 001, which results in a version number of 0x20000000. From there, other bits are set for various soft forks, and unset once the fork has activated. For example, segwit uses bi 1, so setting bit 1 results in a version number of 0x20000002.

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!