1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-02-23 15:20:50 +01:00

Update bip-0119.mediawiki

"susceptibility", but meaning is clear without this word
This commit is contained in:
Tom Harding 2020-08-25 09:34:33 -07:00 committed by GitHub
parent 9d44e594b0
commit 4a4f593c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -266,7 +266,7 @@ segwit transaction in which case it must be only the exact redeemscript. P2SH is
(unless the P2SH hash is broken) with CHECKTEMPLATEVERIFY because the template hash must commit
to the ScriptSig, which must contain the redeemscript, which is a hash cycle.
To prevent succeptibility to malleability when not using a segwit input, we also commit to the
To prevent malleability when not using a segwit input, we also commit to the
scriptsig. This makes it possible to use a 2 input CHECKTEMPLATEVERIFY with a legacy pre-signed
spend, as long as the exact scriptsig for the legacy output is committed. This is more robust than
simply disallowing any scriptSig to be set with CHECKTEMPLATEVERIFY.