Where did 520 come from? Its not evenly divisible by 64 or 32?
In the current proposal for CAT (BIP-420), its Just Another Opcode. The check is that it fails if you try to create a stack element longer than 520 bytes.
In the proposal from nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s , there is a variable operations budget (varops) and if you exceed the budget, your script is invalid. In this model, the “cost” for an operation is based on what kind of operation it is (add is cheaper than mul) as a function of its input length(s).
Discussion
No replies yet.