![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?](https://cillionairee.com/wp-content/uploads/https://cdn.sstatic.net/Sites/bitcoin/Img/apple-touch-icon@2.png?v=b4864ba760f1)
[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]