Damus
note1dxe2d...
Base58โ›“๐Ÿ”“ profile picture
one minor correction: the video says you can't tell what opcodes are used in unspent scripts.

this is true. you *can* however tell what version of scripts bitcoin is locked up to.

so theoretically you could remove support for a version of script once all bitcoin locked up to that script version had been spent.

there are currently 3 versions of scripts in bitcoin; none of them have ever been deprecated and all of them currently have funds locked up to them.
1
Base58โ›“๐Ÿ”“ · 114w
the most recently 'removed' opcode is OP_CHECKMULTISIG; it's available in pre-segwit and segwit v0 scripts. it's not available for segwit v1 scripts (aka taproot scripts or tapscript)