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


TL;DR: you need not multiply something. 20037 ≤ 80000 is the proper comparability, so the returned values signify a legitimate block.

The confusion arises as a result of there was “outdated 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 full 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 state of affairs the place SigOps exceed the restrict will nonetheless be thought of legitimate.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top