{"number":100,"title":"Dynamic maximum block size by miner vote","authors":["Jeff Garzik","Tom Harding","Dagur Valberg Johannsson"],"status":"Closed","type":"Specification","layer":"Consensus (hard fork)","created":"2015-06-11","license":"BSD-2-Clause","requires":[],"replaces":[],"replacedBy":[],"discussion":[],"abstract":"Replace the static 1M block size hard limit with a hard limit set by coinbase vote, conducted on the same schedule as difficulty retargeting.","eli5":"Proposed replacing Bitcoin's fixed 1 MB block size limit with one that miners could vote to raise or lower, with votes counted on the same two-week cycle as mining difficulty adjustments. It was one of several proposals during the block size debate and would have required a hard fork.","categories":["blocks"],"filename":"bip-0100.mediawiki","githubUrl":"https://github.com/bitcoin/bips/blob/master/bip-0100.mediawiki","format":"mediawiki","readingMinutes":3,"inbound":0,"revisions":10,"impact":17,"core":false,"references":[],"lastModified":"2025-10-08","html":"<h2 id=\"abstract\">Abstract</h2>\n<p>Replace the static 1M block size hard limit with a hard limit set by coinbase vote, conducted on the same schedule as difficulty retargeting.</p>\n<h2 id=\"motivation\">Motivation</h2>\n<p>Miners directly feel the effects, both positive and negative, of any maximum block size change imposed by their peers.  Larger blocks allow more growth in the on-chain ecosystem, while smaller blocks reduce resource requirements network-wide.  Miners also act as an efficient proxy for the rest of the ecosystem, since they are paid in the tokens collected for the blocks they create.</p>\n<p>A simple deterministic system is specified, whereby a 75% mining supermajority may activate a change to the maximum block size each 2016 blocks.  Each change is limited to a 5% increase from the previous block size hard limit, or a decrease of similar magnitude.  Among adopting nodes, there will be no disagreement on the evolution of the maximum block size.</p>\n<p>The system is compatible with emergent consensus, but whereas under that system a miner may choose to accept any size block, a miner following BIP100 observes the 75% supermajority rule, and the 5% change limit rule.  Excessive-block values signaled by emergent consensus blocks are considered in the calculation of the BIP100 block size hard limit, and the BIP100 calculated maximum block size is signaled as an excessive-block value for the benefit of all observers.</p>\n<h2 id=\"specification\">Specification</h2>\n<h3 id=\"dynamic-maximum-block-size\">Dynamic Maximum Block Size</h3>\n<ol><li>\nInitial value of <code>hardLimit</code> is 1000000 bytes, preserving current system.\n</li></ol>\n<ol><li>\nChanging <code>hardLimit</code> is accomplished by encoding a proposed value, a vote, within a block's coinbase scriptSig, and by processing the votes contained in the previous retargeting period.<br /><br />\n<ol><li>\nVote encoding\n<ol><li>\nA vote is represented as a megabyte value using the BIP100 pattern<br /><br /><code>/BIP100/B[0-9]+/</code><br /><br />Example: <code>/BIP100/B8/</code> is a vote for a 8000000-byte <code>hardLimit</code>.<br /><br />\n</li></ol>\n<ol><li>\nIf the block height is encoded at the start of the coinbase scriptSig, as per BIP34, it is ignored.\n</li></ol>\n<ol><li>\nOnly the first BIP100 pattern match is processed in \"Maximum block size recalculation\" below.\n</li></ol>\n<ol><li>\nA megabyte value is represented by consecutive base-ten digits.\n</li></ol>\n<ol><li>\nIf no BIP100 pattern is matched, the first matching emergent consensus pattern <code>/EB[0-9]+/</code>, if any, is accepted as the megabyte vote.<br /><br />\n</li></ol>\n</li><li>\nMaximum block size recalculation\n<ol><li>\nA <code>new hardLimit</code> is calculated after each difficulty adjustment period of 2016 blocks, and applies to the next 2016 blocks.\n</li></ol>\n<ol><li>\nAbsent/zero-valued votes are counted as votes for the <code>current hardLimit</code>.\n</li></ol>\n<ol><li>\nThe votes of the previous 2016 blocks are sorted by megabyte vote.\n</li></ol>\n<ol><li>\nRaising <code>hardLimit</code><br /><br />\n<ol><li>\nThe <code>raise value</code> is defined as the vote of the 1512th highest block, converted to bytes.\n</li></ol>\n<ol><li>\nIf the resultant <code>raise value</code> is greater than (<code>current hardLimit</code> * 1.05) rounded down, it is set to that value.\n</li></ol>\n<ol><li>\nIf 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 />\n</li></ol>\n</li><li>\nLowering <code>hardLimit</code><br /><br />\n<ol><li>\nThe <code>lower value</code> is defined as the vote of the 1512th lowest block, converted to bytes.\n</li></ol>\n<ol><li>\nIf the resultant <code>lower value</code> is less than (<code>current hardLimit</code> / 1.05) rounded down, it is set to that value.\n</li></ol>\n<ol><li>\nIf 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 />\n</li></ol>\n</li><li>\nOtherwise, <code>new hardLimit</code> remains the same as <code>current hardLimit</code>.\n</li></ol>\n</li></ol>\n</li></ol>\n<h3 id=\"signature-hashing-operations-limits\">Signature Hashing Operations Limits</h3>\n<ol><li>\nThe per-block signature hashing operations limit is scaled to (actual block size, fractional megabyte rounded to next higher megabyte) / 50.\n</li></ol>\n<ol><li>\nA maximum serialized transaction size of 1000000 bytes is imposed.\n</li></ol>\n<h2 id=\"recommendations\">Recommendations</h2>\n<h3 id=\"publication-of-hardlimit\">Publication of <code>hardLimit</code></h3>\n<ol><li>\nFor 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.\n</li></ol>\n<h2 id=\"deployment\">Deployment</h2>\n<p>This BIP is presumed deployed and activated as of block height 449568 by implementing nodes on the bitcoin mainnet. It has no effect until a raise value different from 1M is observed, which requires at least 1512 of 2016 blocks to vote differently from 1M.</p>\n<h2 id=\"backward-compatibility\">Backward compatibility</h2>\n<p>The first block larger than 1M will create a network partition, as nodes with a fixed 1M hard limit reject that block.</p>\n<h2 id=\"implementations\">Implementations</h2>\n<p><a href=\"https://github.com/bitcoinxt/bitcoinxt/pull/188\">https://github.com/bitcoinxt/bitcoinxt/pull/188</a></br> <a href=\"https://github.com/bitcoinxt/bitcoin/pull/1\">https://github.com/bitcoinxt/bitcoin/pull/1</a></br> <a href=\"https://github.com/BitcoinUnlimited/BitcoinUnlimited/pull/398\">https://github.com/BitcoinUnlimited/BitcoinUnlimited/pull/398</a></br></p>\n<h2 id=\"copyright\">Copyright</h2>\n<p>This document is licensed under the BSD 2-clause license.</p>","toc":[{"id":"abstract","title":"Abstract","level":2},{"id":"motivation","title":"Motivation","level":2},{"id":"specification","title":"Specification","level":2},{"id":"dynamic-maximum-block-size","title":"Dynamic Maximum Block Size","level":3},{"id":"signature-hashing-operations-limits","title":"Signature Hashing Operations Limits","level":3},{"id":"recommendations","title":"Recommendations","level":2},{"id":"publication-of-hardlimit","title":"Publication of hardLimit","level":3},{"id":"deployment","title":"Deployment","level":2},{"id":"backward-compatibility","title":"Backward compatibility","level":2},{"id":"implementations","title":"Implementations","level":2},{"id":"copyright","title":"Copyright","level":2}],"history":{"totalCommits":10,"firstCommit":"2017-03-08T11:46:12-05:00","lastUpdated":"2025-10-08T14:59:36-07:00","events":[{"sha":"24e96e870fffaa257b465ce1f0370c14aac588e8","date":"2025-10-08T14:59:36-07:00","author":"Murch","message":"process: Created ↦ Assigned","url":"https://github.com/bitcoin/bips/commit/24e96e870fffaa257b465ce1f0370c14aac588e8","kind":"edit"},{"sha":"5207ef92a52d0b8902895b0dbb40823a4d698ec9","date":"2025-04-11T20:08:17-07:00","author":"Murch","message":"process: Author ↦ Authors","url":"https://github.com/bitcoin/bips/commit/5207ef92a52d0b8902895b0dbb40823a4d698ec9","kind":"edit"},{"sha":"59730dec4fb641a41589aa1b91d3c452f13e0e36","date":"2025-04-11T20:05:13-07:00","author":"Murch","message":"process: Remove Comments-URI and -Summary","url":"https://github.com/bitcoin/bips/commit/59730dec4fb641a41589aa1b91d3c452f13e0e36","kind":"edit"},{"sha":"a233bde4af52c6a11269e2e6dd9707abce441ffe","date":"2025-04-11T18:19:21-07:00","author":"Murch","message":"process: Standards Track ↦ Specification","url":"https://github.com/bitcoin/bips/commit/a233bde4af52c6a11269e2e6dd9707abce441ffe","kind":"edit"},{"sha":"66defbdc03ad64ccddfd373e1c59af9a41ab990f","date":"2025-04-11T18:11:55-07:00","author":"Murch","message":"process: Deferred/Obsolete/Rejected/Replaced/Withdrawn ↦ Closed","url":"https://github.com/bitcoin/bips/commit/66defbdc03ad64ccddfd373e1c59af9a41ab990f","kind":"status"},{"sha":"b1b248fc6ade930c4c716eb9fed1b48be6796356","date":"2019-09-24T19:33:03+00:00","author":"Luke Dashjr","message":"Update BIP 100 status Draft->Rejected","url":"https://github.com/bitcoin/bips/commit/b1b248fc6ade930c4c716eb9fed1b48be6796356","kind":"status"},{"sha":"7c23bf14ee14beb8339b26914475cb50c95465e8","date":"2017-05-06T12:29:54-04:00","author":"Tom Harding","message":"bip100: Clarifications","url":"https://github.com/bitcoin/bips/commit/7c23bf14ee14beb8339b26914475cb50c95465e8","kind":"edit"},{"sha":"7ea5bfccde202b523738a26278afc746fdbf5aa4","date":"2017-05-05T07:41:57-04:00","author":"Tom Harding","message":"bip100: restore Comments header","url":"https://github.com/bitcoin/bips/commit/7ea5bfccde202b523738a26278afc746fdbf5aa4","kind":"edit"},{"sha":"ac9c8b73ed7ee7d5b2055bf926b1da5e76025c49","date":"2017-05-04T18:47:32-04:00","author":"Tom Harding","message":"bip100: Improve header metadata.  Vote search edge cases.","url":"https://github.com/bitcoin/bips/commit/ac9c8b73ed7ee7d5b2055bf926b1da5e76025c49","kind":"edit"},{"sha":"5ad92f06de1036b650bf0bd40c7f89eb5059cb2d","date":"2017-03-08T11:46:12-05:00","author":"Jeff Garzik","message":"Add BIP 100, as currently implemented.","url":"https://github.com/bitcoin/bips/commit/5ad92f06de1036b650bf0bd40c7f89eb5059cb2d","kind":"edit"}]}}