i noticed a standard 0 sigops transaction when calling getblocktemplate, but that transaction turned out to be P2PKH of course with OP_CHECKSIG
Expected behavior
"sigops": 36, in block template json
Actual behavior
...
"txid": "54eee291ec73fcc3faf496cf90ffc9b6faa57940234802bdae58c51540016853",
"hash": "54eee291ec73fcc3faf496cf90ffc9b6faa57940234802bdae58c51540016853",
"depends": [
],
"fee": 1404,
"sigops": 0, <-- here
"weight": 5472
...
To reproduce
somehow get the sigop count of 54eee291ec73fcc3faf496cf90ffc9b6faa57940234802bdae58c51540016853 (testnet)
System information
bitcoin.org binary v22.0.0
i noticed a standard 0 sigops transaction when calling getblocktemplate, but that transaction turned out to be P2PKH of course with
OP_CHECKSIGExpected behavior
"sigops": 36,in block template jsonActual behavior
To reproduce
somehow get the sigop count of
54eee291ec73fcc3faf496cf90ffc9b6faa57940234802bdae58c51540016853(testnet)System information
bitcoin.org binary v22.0.0