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.

Replies (2)

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)
โ†‘