Re: [bitcoin-dev] Witness script validation to reject arbitrary data

2023-05-09 Thread Moth via bitcoin-dev
23 at 7:55 PM, Peter Todd <[p...@petertodd.org](mailto:On Mon, May 8, 2023 at 7:55 PM, Peter Todd < wrote: > On Mon, May 08, 2023 at 08:16:41PM +0000, Moth via bitcoin-dev wrote: >> From what I understand, things like inscriptions can only be inserted >> between two specific flag

[bitcoin-dev] Witness script validation to reject arbitrary data

2023-05-08 Thread Moth via bitcoin-dev
From what I understand, things like inscriptions can only be inserted between two specific flags - OP_FALSE and OP_IF. Having a validation check to reject witness scripts that have arbitrary data between these two flags could be used to reject inscriptions while still allowing all the benefits