From 4f03aaea2c1a830e0676830713c45577f6f45989 Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Thu, 23 Feb 2023 08:57:45 -0500 Subject: vaults: add backwards compatibility --- bip-vaults.mediawiki | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bip-vaults.mediawiki') diff --git a/bip-vaults.mediawiki b/bip-vaults.mediawiki index 5a91447..570b95b 100644 --- a/bip-vaults.mediawiki +++ b/bip-vaults.mediawiki @@ -635,6 +635,18 @@ Script descriptors for vault-related outputs will be covered in a subsequent BIP TBD +== Backwards compatibility == + +OP_VAULT and OP_UNVAULT replace, respectively, the witness v1-only opcodes OP_SUCCESS187 and OP_SUCCESS188 with +stricter verification semantics. Consequently, scripts using those opcodes which previously were valid will cease to be valid with this change. + +Stricter verification semantics for an OP_SUCCESSx opcode are a soft fork, so existing software will be fully functional without upgrade except for mining and block validation. + +Backwards compatibility considerations are very comparable to previous +deployments for OP_CHECKSEQUENCEVERIFY and OP_CHECKLOCKTIMEVERIFY (see [https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki BIP-0065] +and [https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki BIP-0112]). + + == Rationale == -- cgit v1.2.3