Author

Topic: Mining BTC: Restrictions on version field (Read 193 times)

newbie
Activity: 15
Merit: 5
December 03, 2020, 10:50:34 AM
#3
Cool, thanks for this information Pooya!

Cheers McStone
legendary
Activity: 3472
Merit: 10611
December 03, 2020, 03:19:58 AM
#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
newbie
Activity: 15
Merit: 5
December 03, 2020, 02:57:29 AM
#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
Jump to: