Skip to content

Commit 73ade2d

Browse files
authored
Merge pull request bitcoin#126 from MaxHillebrand/patch-1
fix: script spend, not key spend reveals tree depth
2 parents 3f62751 + 78eb015 commit 73ade2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-taproot.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ A key path spend could be a "normal" payment from a single- or multi-signature w
268268
269269
A script path spend leaks that there is a script path and that the key path was not applicable - for example because the involved parties failed to reach agreement.
270270
Moreover, the depth of a script in the Merkle root leaks information including the minimum depth of the tree, which suggests specific wallet software that created the output and helps clustering.
271-
Therefore, the privacy of key spends can be improved by deviating from the optimal tree determined by the probability distribution over the leaves.
271+
Therefore, the privacy of script spends can be improved by deviating from the optimal tree determined by the probability distribution over the leaves.
272272
273273
Just like other existing output types, taproot outputs should never reuse keys.
274274
This does not only apply to the particular leaf that was used to spend an output but to all leaves committed to in the output.

0 commit comments

Comments
 (0)