pub const MAX_BLOCK_SIGOPS: u32 = 20_000;Expand description
The maximum number of transparent signature operations allowed in a block.
§Consensus
For every block, the sum of legacy and P2SH transparent signature operations across all transactions must not exceed 20_000.
§Notes
This rule is inherited from pre-SegWit Bitcoin, and is not explicitly stated in the Zcash
protocol spec. It is covered implicitly in §7.6, which closes with “Other rules inherited from
Bitcoin”. The inclusion of this rule is tracked in zcash/zips#568.
Zebra mirrors zcashd’s ConnectBlock, which sums GetLegacySigOpCount() and
GetP2SHSigOpCount() per transaction before comparing against this constant.