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.