Pages:
Author

Topic: BIP100 updated - By Jeff Garzik and Tom Harding - page 3. (Read 3187 times)

staff
Activity: 4270
Merit: 1209
I support freedom of choice
For core version 0.12... why?
Maybe because Bitcoin Core 0.12 code is known by a very large number of people, so it can have a very good peer review.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
For core version 0.12... why? Presumably to predate all segwit code and be compatible with BU? Since it's a hard fork proposal independent of segwit there is nothing that would prevent this from being made for core 0.14. BIP100 was the most popular choice amongst mining pools when it was first proposed. Don't be surprised if it makes a surprising comeback now. If this was coded up for core instead of BU without any other changes it would be very popular very quickly...
legendary
Activity: 3430
Merit: 3080
why are you jackals trying to promote 2 different "Democratic" blocksize proposals at once (this and BU)


is it because user support for BU is so low, despite how many BU nodes you have spread out over so many hosting services
staff
Activity: 4270
Merit: 1209
I support freedom of choice
New BIP100 code for Bitcoin Core 0.12
https://github.com/bitcoinxt/bitcoin/pull/1
full member
Activity: 182
Merit: 107
I like this, it avoids radical changes and allows easy reversal if a change ends up going too far.
staff
Activity: 4270
Merit: 1209
I support freedom of choice
This BIP still require the 75% of hashing power, so by following this rule, it is harder to change, in both directions, but it is still possible.
If there isn't 75% of the hashing power voting a direction, the block size will just remain the same. (even the current 1MB limit)

EDIT:
And it can only change by the 5% (upper or lower) of the size of the previous limit, after 2016 blocks with at least 75% of vote.
copper member
Activity: 2996
Merit: 2374
What happens if some miners want to lower the limit and some want to raise the limit? I am not sure the formula in the proposal would work.
staff
Activity: 4270
Merit: 1209
I support freedom of choice
BIP100: https://github.com/jgarzik/bip100/blob/master/bip-0100.mediawiki
Reddit discussion: https://np.reddit.com/r/btc/comments/5yvc58/tom_harding_weve_worked_with_jgarzik_to_update

Code:
==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.

==Motivation==

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.

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.

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.

==Specification==

===Dynamic Maximum Block Size===
# Initial value of hardLimit is 1000000 bytes, preserving current system.
# Changing hardLimit 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.


## Vote encoding
### A vote is represented as a positive megabyte value using the BIP100 pattern

/BIP100/B[0-9]+/

Example: /BIP100/B8/ is a vote for a 8000000-byte hardLimit.


### If the block height is encoded at the start of the coinbase scriptSig, as per BIP34, it is ignored.
### Only the first BIP100 pattern match is processed in "Maximum block size recalculation" below.
### A valid megabyte value is represented by consecutive base-ten digits.
### If no BIP100 pattern is matched, the first matching emergent consensus pattern /EB[0-9]+/, if any, is accepted as the megabyte vote.


## Maximum block size recalculation
### A new hardLimit is calculated after each difficulty adjustment period of 2016 blocks, and applies to the next 2016 blocks.
### Absent/invalid votes are counted as votes for the current hardLimit.
### 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, the raise value becomes the new hardLimit and the recalculation is complete.


### 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, 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 (hardLimit rounded up to nearest megabyte)/50.
# A maximum serialized transaction size of 1000000 bytes is imposed.

===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.

==Deployment==

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.

==Backward compatibility==

The first block larger than 1M will create a network partition, as nodes with a fixed 1M hard limit reject that block.
Pages:
Jump to: