Skip to content

Commit c569e23

Browse files
committed
BIP53: Use different notation for txids and tx-bytes
1 parent cbaedf2 commit c569e23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bip-0053.mediawiki

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ This has been mitigated by Bitcoin Core's relay policy and the RPC interface sin
3838
64-byte transactions introduce block malleability. Malicious peers can construct consensus valid and invalid 64-byte
3939
transactions that have the same serialization as the concatenation of 2 hashes in the Merkle tree.
4040

41-
Assume we have a valid Bitcoin block with 2 transactions in it that have transaction ids of T<sub>0</sub> and T<sub>1</sub>.
42-
The Merkle root for this block is H(T<sub>0</sub>||T<sub>1</sub>).
43-
A malicious user could find a 64-byte transaction T<sub>m</sub> that serializes to T<sub>0</sub>||T<sub>1</sub>.
41+
Assume we have a valid Bitcoin block with 2 transactions in it with Txid<sub>0</sub> and Txid<sub>1</sub>.
42+
The Merkle root for this block is H(Txid<sub>0</sub>||Txid<sub>1</sub>).
43+
A malicious user could find a 64-byte transaction T<sub>m</sub> that serializes to Txid<sub>0</sub>||Txid<sub>1</sub>.
4444
Next that user relays the block containing the malicious T<sub>m</sub> rather than the
45-
valid Bitcoin transactions that correspond with T<sub>0</sub> and T<sub>1</sub>.
45+
valid Bitcoin transactions that correspond to Txid<sub>0</sub> and Txid<sub>1</sub>.
4646

4747
==== Block malleability with consensus INVALID transactions ====
4848

0 commit comments

Comments
 (0)