What is Nostr?
Peter Todd [ARCHIVE] /
npub1m23…2np2
2023-06-07 23:19:36
in reply to nevent1q…rv4n

Peter Todd [ARCHIVE] on Nostr: 📅 Original date posted:2023-02-17 🗒️ Summary of this message: A proposal was ...

📅 Original date posted:2023-02-17
🗒️ Summary of this message: A proposal was made to statically analyze inscription scripts to ensure they are "plausible" and increase their space cost by requiring OP_DROP to be added multiple times. The percentage increase is unknown.
📝 Original message:On February 18, 2023 1:35:34 AM GMT+02:00, Andrew Poelstra via bitcoin-dev
>You could try statically analyze `<anything>` to determine whether the
>IF branch could ever be taken. For example there is no path through
>the "inscription script" that would result in all the crap being dropped
>by the end of the script, violating the CLEANSTACK rule.
>
>This sort of filtering, assuming it could be reliably and efficiently
>done, would at least force inscription scripts to be "plausible", and
>would greatly increase their space cost by e.g. requiring OP_DROP to be
>added somewhere hundreds of times.

"greatly increase their space cost"?

Tell me, what is the actual % increase to adding OP_DROPs like you propose?
Author Public Key
npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2