mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-17 21:32:50 +01:00
Added block size limit
This commit is contained in:
parent
4c0863a2e4
commit
181280bed7
@ -123,8 +123,11 @@ The first levels bits of locator, interpreted in little endian, are assumed to b
|
||||
The coinbase's input's witness must consist of a single byte array, which the size must be a multiple of 32 bytes but not bigger than 32*32 bytes. These are assumed to be the Merkle path to connect the witness root hash to the commitment root hash. Depth of the commitment is determined by the length of the path. If the depth of the tree is 0, the path should be represented by 0x00, and the witness root hash will be same as the commitment root hash.
|
||||
|
||||
=== Block size limit ===
|
||||
Discount for witness data?
|
||||
Virtual block size limit?
|
||||
Blocks are currently limited to 1 MB total size. We change this restriction as follows:
|
||||
|
||||
We define a base block size s<sub>b</sub> consisting of the existing header and transactions, a witness size s<sub>w</sub> consisting of only the size of the witness data, and a virtual block size s<sub>v</sub> = s<sub>b</sub> + s<sub>w</sub>/4.
|
||||
|
||||
The new rule is s<sub>v</sub> <= 1 MB.
|
||||
|
||||
=== Witness program ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user