There are four sigops limits in validation, which all get deactivated here:
- consensus per-block limit of 20000 per MB
- consensus per-tx limit of 20000
- standard per-tx limit of 4000
- standard per-input limit of 15 for P2SH spends (only when -acceptnonstdtxn=0)
Additionally there is sigops tracking in mempool / mining:
- mining respects the consensus per-block limit
- virtualsize (priority) uses sigops
This Diff only keeps the sigops tracking in virtualsize/mempool
which does not actually form a limit (this will be soon replaced
with sigchecks). The miner itself ignores sigops limits once
deactivated.
Depends on D5060 D5061 D5062 D5076 D5077