zcash / zips

Zcash Improvement Proposals
https://zips.z.cash
MIT License
274 stars 156 forks source link

[protocol spec] Document block transparent sigops limit consensus rule #568

Open teor2345 opened 2 years ago

teor2345 commented 2 years ago

@str4d says:

MAX_BLOCK_SIGOPS does apply to Zcash; it's hard-coded at 20,000, matching pre-SegWit Bitcoin

This limit applies to the sum of sigops in lock (output) and unlock (spend) scripts.

https://discord.com/channels/809218587167293450/809251050741170187/905896515053170768

But this isn't documented in the Zcash specification, and upstream Bitcoin has diverged from this limit.

daira commented 1 year ago

Remember to update the [#sigop-limit] reference in ZIP 317 when this is fixed.