Home Bitcoin block validity – Is the sum of sigops within the transaction particulars returned by getBlockTemplate not allowed to exceed 2000?

block validity – Is the sum of sigops within the transaction particulars returned by getBlockTemplate not allowed to exceed 2000?

0
block validity – Is the sum of sigops within the transaction particulars returned by getBlockTemplate not allowed to exceed 2000?

[ad_1]

TL;DR: you needn’t multiply something. 20037 ≤ 80000 is the proper comparability, so the returned values symbolize a legitimate block.

The confusion arises as a result of there was “previous sigops” (pre segwit), the place the restrict was 20000. With the introduction of segwit in 2017, the which means of sigops modified:

  • Operations in pre-segwit inputs rely for 4 sigops every.
  • Operations in post-segwit inputs rely for 1 sigop every.
  • The entire restrict is 80000.

The quantity reported by the getblocktemplate RPC is these new sigops, with the correct 4x multiplication already utilized for related transaction inputs.

I wish to know if mining a block in such a scenario the place SigOps exceed the restrict will nonetheless be thought-about legitimate.

That will invalidate the block fully, however that isn’t what’s going on right here.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here