mirror of
https://github.com/bitcoin/bips.git
synced 2026-06-01 17:15:27 +00:00
bip-0054: spell out in more places that 64 bytes is for witness-stripped size
This commit is contained in:
10
bip-0054.md
10
bip-0054.md
@@ -38,10 +38,10 @@ users, increasing the cost to independently fully validate the consensus rules.
|
||||
be used by miners to attack their competition, creating perverse incentives, centralization
|
||||
pressures and leading to reduced network security.
|
||||
|
||||
In computing a block's Merkle root, a 64-byte transaction can be interpreted both as an intermediate
|
||||
node in the tree and as a leaf in the tree. This makes it possible to fake inclusion proofs by
|
||||
pretending a 64-byte block transaction is an inner node, as well as to pretend the inner nodes on
|
||||
one level of the tree are the actual block transactions.
|
||||
In computing a block's Merkle root, a transaction with exactly 64 bytes of non-witness data can be
|
||||
interpreted both as an intermediate node in the tree and as a leaf in the tree. This makes it
|
||||
possible to fake inclusion proofs by pretending a 64-byte block transaction is an inner node, as
|
||||
well as to pretend the inner nodes on one level of the tree are the actual block transactions.
|
||||
|
||||
Since [bip-0034][BIP34] activation, explicit [bip-0030][BIP30] validation is not necessary until
|
||||
block height 1,983,702[^0]. Mandating new coinbase transactions be different from the early
|
||||
@@ -146,7 +146,7 @@ Bitcoin Core version [30.0][Core 30.0] and later will not generate a block templ
|
||||
transaction that violates the signature operations limit introduced in this BIP.
|
||||
|
||||
Bitcoin Core version [0.16.1][Core 0.16.1] and later will neither relay nor create block templates
|
||||
that include 64-byte transactions.
|
||||
that include transactions whose witness-stripped serialized size is exactly 64 bytes.
|
||||
|
||||
The coinbase transaction is usually crafted by mining pool software. To the best of the authors'
|
||||
knowledge, there does not exist an open source reference broadly in use today for such software.
|
||||
|
||||
Reference in New Issue
Block a user