Skip to content

Commit 7c23bf1

Browse files
dgenr8jgarzik
authored andcommitted
bip100: Clarifications
1 parent 7ea5bfc commit 7c23bf1

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

README.mediawiki

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,13 @@ Those proposing changes should consider that ultimately consent may rest with th
413413
| Jorge Timón
414414
| Informational
415415
| Draft
416+
|-
417+
| [[bip-0100.mediawiki|100]]
418+
| Consensus (hard fork)
419+
| Dynamic block size by miner vote
420+
| Jeff Garzik, Tom Harding, Dagur Valberg
421+
| Standard
422+
| Draft
416423
|- style="background-color: #ffcfcf"
417424
| [[bip-0101.mediawiki|101]]
418425
| Consensus (hard fork)

bip-0100.mediawiki

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Author: Jeff Garzik <[email protected]>
66
Tom Harding <[email protected]>
77
Dagur Valberg Johannsson <[email protected]>
8+
Comments-Summary: No comments yet.
89
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0100
910
Status: Draft
1011
Type: Standards Track
@@ -41,20 +42,22 @@ The system is compatible with emergent consensus, but whereas under that system
4142
### The votes of the previous 2016 blocks are sorted by megabyte vote.
4243
### Raising <code>hardLimit</code><br /><br />
4344
#### The <code>raise value</code> is defined as the vote of the 1512th highest block, converted to bytes.
44-
#### If the resultant <code>raise value</code> is greater than (<code>current hardLimit</code> * 1.05) rounded down to the nearest byte, it is set to that value.
45+
#### If the resultant <code>raise value</code> is greater than (<code>current hardLimit</code> * 1.05) rounded down, it is set to that value.
4546
#### If the resultant <code>raise value</code> is greater than <code>current hardLimit</code>, the <code>raise value</code> becomes the <code>new hardLimit</code> and the recalculation is complete.<br /><br />
46-
### Lowering <code>hardlimit</code><br /><br />
47+
### Lowering <code>hardLimit</code><br /><br />
4748
#### The <code>lower value</code> is defined as the vote of the 1512th lowest block, converted to bytes.
48-
#### If the resultant <code>lower value</code> is less than (<code>current hardLimit</code> / 1.05) rounded down to the nearest byte, it is set to that value.
49+
#### If the resultant <code>lower value</code> is less than (<code>current hardLimit</code> / 1.05) rounded down, it is set to that value.
4950
#### If the resultant <code>lower value</code> is less than <code>current hardLimit</code>, the <code>lower value</code> becomes the <code>new hardLimit</code> and the recalculation is complete.<br /><br />
5051
### Otherwise, <code>new hardLimit</code> remains the same as <code>current hardLimit</code>.
5152
5253
===Signature Hashing Operations Limits===
53-
# The per-block signature hashing operations limit is scaled to (actual block size rounded up to nearest megabyte)/50.
54+
# The per-block signature hashing operations limit is scaled to (actual block size, fractional megabyte rounded to next higher megabyte) / 50.
5455
# A maximum serialized transaction size of 1000000 bytes is imposed.
5556
57+
==Recommendations==
58+
5659
===Publication of <code>hardLimit</code>===
57-
# For the benefit of emergent consensus nodes, <code>hardLimit</code> is published. Example: a complete coinbase string might read <br /><br /><code>/BIP100/B8/EB2.123456/</code><br /><br /> which indicates a vote for 8M maximum block size, and an enforced <code>hardLimit</code> of 2.123456 megabytes for the block containing the coinbase string.
60+
# For the benefit of all observers, it is recommended that <code>hardLimit</code> be published. Example: a complete coinbase string might read <br /><br /><code>/BIP100/B8/EB2.123456/</code><br /><br /> which indicates a vote for 8M maximum block size, and an enforced <code>hardLimit</code> of 2.123456 megabytes for the block containing the coinbase string.
5861
5962
==Deployment==
6063

@@ -64,8 +67,10 @@ This BIP is presumed deployed and activated as of block height 449568 by impleme
6467

6568
The first block larger than 1M will create a network partition, as nodes with a fixed 1M hard limit reject that block.
6669

67-
==Reference Implementation==
68-
https://github.com/bitcoinxt/bitcoinxt/pull/188
70+
==Implementations==
71+
https://github.com/bitcoinxt/bitcoinxt/pull/188</br>
72+
https://github.com/bitcoinxt/bitcoin/pull/1</br>
73+
https://github.com/BitcoinUnlimited/BitcoinUnlimited/pull/398</br>
6974

7075
==Copyright==
7176
This document is licensed under the BSD 2-clause license.

0 commit comments

Comments
 (0)