summaryrefslogtreecommitdiff
path: root/fb/fccabf75408f59b089d35d95aca6a53c0f55be
blob: b41443a28f7e201bd5b38810f36febf9e34d2eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
Return-Path: <jtimon@jtimon.cc>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 26D3AB88
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  6 Jul 2015 16:50:39 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com
	[209.85.212.176])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 72B61ED
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  6 Jul 2015 16:50:38 +0000 (UTC)
Received: by wibdq8 with SMTP id dq8so159253266wib.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 06 Jul 2015 09:50:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:date:message-id:subject:from:to
	:content-type;
	bh=6pyAPGJ1Y83jhMIsyArMa4KRcpkuOdm3Hh7mVOp0H78=;
	b=ar2z/J+6HaFCKfeU3IWSDCysjPLvyIHUHr2K/qIdo0wPgjjwl0VrIVBTOzrY6/pA+1
	zigu+rt+Avul1s6dSB4T1QHhTX1f2SkTfiwjoje5Pkg4t/5KDB++04fELkNuQD3ge1vJ
	JwukgysyAG3343hXINpr5WgcNNp9wrKuhooHerUO8dFw+AB5dBPaPx6TWvIHOI9Y1+wO
	Ws2moWBm1EkheXLcZRWpeG9jW3Hk/uWHkCqc63uhFnfkhcqoNwPv6eFbAGTS0U8qDy+Y
	KZQeS6j4gE0KJKoTa332NWvPRtub9gsD+KfAA4nlpnkhPYX8iRM5PtegT7lt9N+DhuJN
	FwpA==
X-Gm-Message-State: ALoCoQk/fM2q1i57rU/3giwiFlAKahssEaxehHfAwPg6G4bkDKSwNqugdEwsGV9cV9CohfEPIXa5
MIME-Version: 1.0
X-Received: by 10.180.109.6 with SMTP id ho6mr94451839wib.58.1436201437081;
	Mon, 06 Jul 2015 09:50:37 -0700 (PDT)
Received: by 10.194.95.168 with HTTP; Mon, 6 Jul 2015 09:50:37 -0700 (PDT)
Date: Mon, 6 Jul 2015 18:50:37 +0200
Message-ID: <CABm2gDocHGNiRtxci+bdp_QXo4iD7Z1HbW5s=4rFKj79Q8XGyg@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: [bitcoin-dev] Introduce N testnet chains to test different block
	sizes
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Jul 2015 16:50:39 -0000

I have created the following PR that simplifies testing of different
block sizes and (if it were merged) would also slightly simplify a
future block size change hardfork.

https://github.com/bitcoin/bitcoin/pull/6382

I hope someone finds this useful. Please, post to github if you find
any issues. But, please, don't discuss the block size issue itself in
this post or the PR, the size is simply -blocksize.

I repeat the text here:

It would be generally good to have more people collecting data and
conduction simulations related to different consensus maximum block sizes.
This PR attempts to simplify that work.
Even if it may take long until it is merged (because it requires many
little steps to be taken first), this branch (or a fork of it) can be
used right now for
testing purposes.

One can use it, for example, like this: ```./src/qt/bitcoin-qt
-chain=sizetest -debug -printtoconsole -gen=1 -genproclimit=20
-blocksize=2000000```

I will rebase and update the list of dependencies accordingly as
things get merged.

Dependencies:

- Chainparams: Translations: DRY: options and error strings #6235
- CTestNetParams and CRegTestParams extend directly from CChainParams #6381