BitcoinTalk

[PATCH] increase block size limit

BitcoinTalk
#1
From:
jgarzik
Subject:
[PATCH] increase block size limit
Date:
We should be able to at least match Paypal's average transaction rate...

Code:
diff --git a/main.h b/main.h
index c5a0127..c92592a 100644
--- a/main.h
+++ b/main.h
@@ -14,7 +14,10 @@ class CBlockIndex;
 class CWalletTx;
 class CKeyItem;
 
-static const unsigned int MAX_BLOCK_SIZE = 1000000;
+static const unsigned int TX_PER_MINUTE = 1400;
+static const unsigned int TX_AVG_SIZE_GUESS = 256;
+static const unsigned int MAX_BLOCK_SIZE =
+ TX_PER_MINUTE * TX_AVG_SIZE_GUESS * 10 * 2;
 static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
 static const int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
 static const int64 COIN = 100000000;

URL: http://yyz.us/bitcoin/patch.bitcoin-block-sz-limit
BitcoinTalk
#2
From:
theymos
Subject:
Re: [PATCH] increase block size limit
Date:
Applying this patch will make you incompatible with other Bitcoin clients.
BitcoinTalk
#3
From:
satoshi
Subject:
Re: [PATCH] increase block size limit
Date:
Applying this patch will make you incompatible with other Bitcoin clients.
+1 theymos.  Don't use this patch, it'll make you incompatible with the network, to your own detriment.

We can phase in a change later if we get closer to needing it.
BitcoinTalk
#4
From:
jgarzik
Subject:
Re: [PATCH] increase block size limit
Date:
We can phase in a change later if we get closer to needing it.

IMO it's a marketing thing.  It's tough to get people to buy into a system, if the network is technically incapable of supporting high transaction rates.
BitcoinTalk
#5
From:
FreeMoney
Subject:
Re: [PATCH] increase block size limit
Date:
We can phase in a change later if we get closer to needing it.

IMO it's a marketing thing.  It's tough to get people to buy into a system, if the network is technically incapable of supporting high transaction rates.

Satoshi just said it can be changed, so technically the network is capable.
BitcoinTalk
#6
From:
jgarzik
Subject:
Re: [PATCH] increase block size limit
Date:
We can phase in a change later if we get closer to needing it.

IMO it's a marketing thing.  It's tough to get people to buy into a system, if the network is technically incapable of supporting high transaction rates.

Satoshi just said it can be changed, so technically the network is capable.

It is also an incompatible change, as you see.....
BitcoinTalk
#7
From:
martin
Subject:
Re: [PATCH] increase block size limit
Date:
No, it's incompatible if just a few people change their behaviour. To roll out a change to the network you need to get most of the clients understanding both the old and the new protocol, and then when you have a majority you turn on the new protocol.
BitcoinTalk
#8
From:
jgarzik
Subject:
Re: [PATCH] increase block size limit
Date:
No, it's incompatible if just a few people change their behaviour. To roll out a change to the network you need to get most of the clients understanding both the old and the new protocol, and then when you have a majority you turn on the new protocol.

You just described a whole-network upgrade.  I'd call that an incompatible change Smiley

The effort to raise the transaction rate limit is the same as the effort to change the fundamental nature of bitcoins:  convince the vast majority to upgrade.
BitcoinTalk
#9
From:
satoshi
Subject:
Re: [PATCH] increase block size limit
Date:
It can be phased in, like:

if (blocknumber > 115000)
    maxblocksize = largerlimit

It can start being in versions way ahead, so by the time it reaches that block number and goes into effect, the older versions that don't have it are already obsolete.

When we're near the cutoff block number, I can put an alert to old versions to make sure they know they have to upgrade.