You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,14 +29,14 @@ The system is compatible with emergent consensus, but whereas under that system
30
29
# Initial value of <code>hardLimit</code> is 1000000 bytes, preserving current system.
31
30
# Changing <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 />
32
31
## Vote encoding
33
-
### A vote is represented as a positive 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 />
32
+
### A 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 />
34
33
### If the block height is encoded at the start of the coinbase scriptSig, as per BIP34, it is ignored.
35
34
### Only the first BIP100 pattern match is processed in "Maximum block size recalculation" below.
36
-
### A valid megabyte value is represented by consecutive base-ten digits.
35
+
### A megabyte value is represented by consecutive base-ten digits.
37
36
### If 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 />
38
37
## Maximum block size recalculation
39
38
### A <code>new hardLimit</code> is calculated after each difficulty adjustment period of 2016 blocks, and applies to the next 2016 blocks.
40
-
### Absent/invalid votes are counted as votes for the <code>current hardLimit</code>.
39
+
### Absent/zero-valued votes are counted as votes for the <code>current hardLimit</code>.
41
40
### The votes of the previous 2016 blocks are sorted by megabyte vote.
42
41
### Raising <code>hardLimit</code><br /><br />
43
42
#### The <code>raise value</code> is defined as the vote of the 1512th highest block, converted to bytes.
@@ -50,7 +49,7 @@ The system is compatible with emergent consensus, but whereas under that system
50
49
### Otherwise, <code>new hardLimit</code> remains the same as <code>current hardLimit</code>.
51
50
52
51
===Signature Hashing Operations Limits===
53
-
# The per-block signature hashing operations limit is scaled to (<code>hardLimit</code> rounded up to nearest megabyte)/50.
52
+
# The per-block signature hashing operations limit is scaled to (actual block size rounded up to nearest megabyte)/50.
54
53
# A maximum serialized transaction size of 1000000 bytes is imposed.
55
54
56
55
===Publication of <code>hardLimit</code>===
@@ -64,3 +63,9 @@ This BIP is presumed deployed and activated as of block height 449568 by impleme
64
63
65
64
The first block larger than 1M will create a network partition, as nodes with a fixed 1M hard limit reject that block.
66
65
66
+
==Reference Implementation==
67
+
https://github.com/bitcoinxt/bitcoinxt/pull/188
68
+
69
+
==Copyright==
70
+
This document is licensed under the BSD 2-clause license.
0 commit comments