Bitcoin Forum
May 12, 2024, 10:20:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining BTC: Restrictions on version field  (Read 171 times)
McStone (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
December 03, 2020, 07:57:29 AM
Merited by ABCbits (1)
 #1

Hi guys,

I know that some miners manipulate the version field (and not only the nonce field) to have more possibilities to try without changing the extra nonce field (because this would need a rehash of the merkle tree).

Does anybody know about any restrictions on the version field? I mean it should state version 2, but will bitcoin core accept any value of the 2^32 possibilities in that field?
If there are any restrictions, please point me to the corresponding bip document, I could not find anything usefull myself :/

Thanks & cheers,

McStone
1715509213
Hero Member
*
Offline Offline

Posts: 1715509213

View Profile Personal Message (Offline)

Ignore
1715509213
Reply with quote  #2

1715509213
Report to moderator
1715509213
Hero Member
*
Offline Offline

Posts: 1715509213

View Profile Personal Message (Offline)

Ignore
1715509213
Reply with quote  #2

1715509213
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10558



View Profile
December 03, 2020, 08:19:58 AM
Merited by ABCbits (1)
 #2

I know of 3 version bumps so far which means block versions can not be smaller than 4 anymore. Bigger version numbers are allowed for forward compatibility (that means if someday we mandate version 5 the old nodes won't reject it).
Version 1: was the initial design.
Version 2: activates BIP-34 (block height in header is mandatory)
Version 3: activates the strict DER encoding from BIP-66
Version 4: activates a new OP code called OP_OP_CheckLocktimeVerify explained in BIP-65

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
McStone (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
December 03, 2020, 03:50:34 PM
 #3

Cool, thanks for this information Pooya!

Cheers McStone
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!