Skip to content

Commit 43c5b2d

Browse files
committed
Remove redeem script language.
1 parent 135836e commit 43c5b2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bip-0360.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The following output types are fundamentally vulnerable to long exposure attacks
113113
* Reused outputs*
114114
* Tapscript outputs (starts with bc1p)
115115
116-
\*Funds in P2PKH, P2SH, P2WPKH, P2WSH, and P2TSH outputs can become vulnerable to long exposure quantum attacks anytime their redeem script reveals a public key.
116+
\*Funds in P2PKH, P2SH, P2WPKH, P2WSH, and P2TSH outputs can become vulnerable to long exposure quantum attacks anytime their script reveals a public key.
117117

118118
Note: Extended public keys, commonly known as "xpubs," and wallet descriptors also reveal quantum vulnerable public key information. For further clarification on quantum attack vectors, please refer to the [[#Glossary|Glossary of Terms]].
119119

@@ -148,7 +148,7 @@ tapleaf script,
148148
control block = [control byte, 32*m byte Merkle path] # m is the depth of the script in the Merkle tree
149149
</source>
150150

151-
The initial stack elements of P2TSH provide the same functionality as they do in P2TR. That is, they place elements on the stack to be evaluated by the script, a.k.a. the redeem script.
151+
The initial stack elements of P2TSH provide the same functionality as they do in P2TR. That is, they place elements on the stack to be evaluated by the script.
152152

153153
The control block is a ''1 + 32 * m'' byte array, where the first byte is the control byte and the next ''32 * m'' bytes are the Merkle path to the tapleaf script. The control byte is the same as the control byte in a P2TR control block, including the 7 bits which are used to specify the tapleaf version. The parity bit of the control byte is always 1, since P2TSH does not have a key path spend. Unlike P2TR, we omit the public key from the control block as it is not needed in P2TSH. We maintain support for the optional annex in the witness (see Specification section below for more details).
154154

0 commit comments

Comments
 (0)