rot13maxi on Nostr: In the current proposal for CAT (BIP-420), its Just Another Opcode. The check is that ...
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
Rusty Russell (npub179e…lz4s) , 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).
Published at
2024-06-23 20:21:28Event JSON
{
"id": "a74665ae1aedaea2ed94d9586e8a041ac6ef0918fd5098371eb0eb391e674de7",
"pubkey": "d987084c48390a290f5d2a34603ae64f55137d9b4affced8c0eae030eb222a25",
"created_at": 1719174088,
"kind": 1,
"tags": [
[
"e",
"37602ab921c95be844ade612c4adf2bb4b0e2ca416255d91e247045c4d01c79b",
"wss://relay.wellorder.net",
"root"
],
[
"p",
"d3d74124ddfb5bdc61b8f18d17c3335bbb4f8c71182a35ee27314a49a4eb7b1d"
],
[
"p",
"f1725586a402c06aec818d1478a45aaa0dc16c7a9c4869d97c350336d16f8e43"
]
],
"content": "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. \n\nIn 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).",
"sig": "3b204f90033a627f4e12159eb9899255f65be10449119b8820c4ca9f6d9cf2f831f293362fc74e476d6205057c317e55a994eba77e4a84f414bb17c05a797240"
}