From 7c23bf14ee14beb8339b26914475cb50c95465e8 Mon Sep 17 00:00:00 2001 From: Tom Harding Date: Sat, 6 May 2017 12:29:54 -0400 Subject: bip100: Clarifications --- bip-0100.mediawiki | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'bip-0100.mediawiki') diff --git a/bip-0100.mediawiki b/bip-0100.mediawiki index ceb24ad..6b322d0 100644 --- a/bip-0100.mediawiki +++ b/bip-0100.mediawiki @@ -5,6 +5,7 @@ Author: Jeff Garzik Tom Harding Dagur Valberg Johannsson + Comments-Summary: No comments yet. Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0100 Status: Draft Type: Standards Track @@ -41,20 +42,22 @@ The system is compatible with emergent consensus, but whereas under that system ### The votes of the previous 2016 blocks are sorted by megabyte vote. ### Raising hardLimit

#### The raise value is defined as the vote of the 1512th highest block, converted to bytes. -#### If the resultant raise value is greater than (current hardLimit * 1.05) rounded down to the nearest byte, it is set to that value. +#### If the resultant raise value is greater than (current hardLimit * 1.05) rounded down, it is set to that value. #### If the resultant raise value is greater than current hardLimit, the raise value becomes the new hardLimit and the recalculation is complete.

-### Lowering hardlimit

+### Lowering hardLimit

#### The lower value is defined as the vote of the 1512th lowest block, converted to bytes. -#### If the resultant lower value is less than (current hardLimit / 1.05) rounded down to the nearest byte, it is set to that value. +#### If the resultant lower value is less than (current hardLimit / 1.05) rounded down, it is set to that value. #### If the resultant lower value is less than current hardLimit, the lower value becomes the new hardLimit and the recalculation is complete.

### Otherwise, new hardLimit remains the same as current hardLimit. ===Signature Hashing Operations Limits=== -# The per-block signature hashing operations limit is scaled to (actual block size rounded up to nearest megabyte)/50. +# The per-block signature hashing operations limit is scaled to (actual block size, fractional megabyte rounded to next higher megabyte) / 50. # A maximum serialized transaction size of 1000000 bytes is imposed. +==Recommendations== + ===Publication of hardLimit=== -# For the benefit of emergent consensus nodes, hardLimit is published. Example: a complete coinbase string might read

/BIP100/B8/EB2.123456/

which indicates a vote for 8M maximum block size, and an enforced hardLimit of 2.123456 megabytes for the block containing the coinbase string. +# For the benefit of all observers, it is recommended that hardLimit be published. Example: a complete coinbase string might read

/BIP100/B8/EB2.123456/

which indicates a vote for 8M maximum block size, and an enforced hardLimit of 2.123456 megabytes for the block containing the coinbase string. ==Deployment== @@ -64,8 +67,10 @@ This BIP is presumed deployed and activated as of block height 449568 by impleme The first block larger than 1M will create a network partition, as nodes with a fixed 1M hard limit reject that block. -==Reference Implementation== -https://github.com/bitcoinxt/bitcoinxt/pull/188 +==Implementations== +https://github.com/bitcoinxt/bitcoinxt/pull/188
+https://github.com/bitcoinxt/bitcoin/pull/1
+https://github.com/BitcoinUnlimited/BitcoinUnlimited/pull/398
==Copyright== This document is licensed under the BSD 2-clause license. -- cgit v1.2.3