Validate transparent signature operation limits in blocks #3015
Labels
A-consensus
Area: Consensus rule updates
A-dependencies
Area: Dependency file updates
A-rust
Area: Updates to Rust code
C-enhancement
Category: This is an improvement
NU Sprout
Network Upgrade: Sprout specific tasks (before Overwinter)
Projects
Milestone
Motivation
Zebra needs to check per-block limits on transparent signature operations.
Specification
The Zcash limit is:
This limit is applied to the sum of the sigops in lock (output) and unlock (spend) scripts.
zcash/zips#568
Here are the corresponding Bitcoin rules:
https://en.bitcoin.it/wiki/Protocol_rules#cite_ref-4
Design Notes
We'll need to modify
zcash_script
to return the number of sigops in lock and unlock scripts.We'll need to validate lock scripts.
Related Work
This ticket depends on script validation changes in:
The text was updated successfully, but these errors were encountered: