public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Witness script validation to reject arbitrary data
@ 2023-05-08 20:16 Moth
  2023-05-08 21:33 ` angus
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Moth @ 2023-05-08 20:16 UTC (permalink / raw)
  To: bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

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 of taproot. This will prevent people from overloading the network with txns geared solely for ordinals and brc-20 tokens.

Is there a reason such a validation check is a bad idea? We already have OP_RETURN to store arbitrary data that is limited to 80kb. Was it an oversight that arbitrary data can be inserted between OP_FALSE and OP_IF when the size limit for witness scripts was lifted as part of taproot?
Thanks,
Moth

Sent from Proton Mail for iOS

[-- Attachment #2: Type: text/html, Size: 1988 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-09 17:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-08 20:16 [bitcoin-dev] Witness script validation to reject arbitrary data Moth
2023-05-08 21:33 ` angus
2023-05-08 21:43 ` Christopher Allen
2023-05-09 17:45   ` Aymeric Vitte
2023-05-08 23:55 ` Peter Todd
2023-05-09 12:20   ` Moth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox