keep-starknet-strange / raito

Bitcoin ZK client written in Cairo.
https://raito.wtf
MIT License
40 stars 34 forks source link

[feat] Validate (total) transaction SigOpCost #161

Closed m-kus closed 1 week ago

m-kus commented 1 month ago

Requires Shinigami integration.

There are hard caps (on transaction and block levels) for the usage of ECDSA signature verification codes.
We have to implement SigOp count calculation for an individual script and then add helpers for transaction and block so that we can compute total SigOpCost.

Maybe the former is best suited to be implemented in shinigami-execution?

References: