summaryrefslogtreecommitdiff
path: root/a9/be6bab955770dd4135a4c711bf5d9e4dadb778
blob: ab54cd5e0defcab5b37fba2b457f8c6d946ad6f0 (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
88
89
90
91
92
93
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 5EA8A8F4
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 19 Aug 2015 18:30:34 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com
	[209.85.217.171])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 86F80165
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 19 Aug 2015 18:30:33 +0000 (UTC)
Received: by lbcbn3 with SMTP id bn3so8944324lbc.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 19 Aug 2015 11:30:31 -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:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=QM6mw7eFuV6dX6G2Xn32DGCuC/BgsyIy7qvCNfE1y0Q=;
	b=CMAWFgUDMqeOS1pmpUNw9hPtmje7xJfOFqEz6kSd4m39NhCv+MoDTf95QS5BwpJ0U2
	3VXP5hH9RyeCMAH5bAMPxlH5Lem3e9IvP7EoDQ7MWAnPiENd1LM4VmBboMQtPs2KnLxp
	+svD5FBPqE2rsTBSUa5n6+D7HRZAXizHglnTcflOrZ437oCJPZ/SOwSxd/mZIwAi6hzq
	wnDcdZDIb1UCrnBnpk1jWTGd3e4L0LDlhbrjj9lIg6t+FFCnfqNm9R700/44ACGqlypA
	cCT304rWh3wZacpK9kFIf482oaXcc/nXs2oCFjP0gHZrQCJpdZJ5dgDW0B4SZOdIZuGA
	zK4w==
X-Gm-Message-State: ALoCoQlCy1/wqDnYViAitqbzb/ijuaYwI/NW41Qm3C4T9mZAH+eOk/Ndar89io0ArxfaVPqPVHRr
MIME-Version: 1.0
X-Received: by 10.152.42.170 with SMTP id p10mr9843572lal.39.1440009031808;
	Wed, 19 Aug 2015 11:30:31 -0700 (PDT)
Received: by 10.25.15.22 with HTTP; Wed, 19 Aug 2015 11:30:31 -0700 (PDT)
In-Reply-To: <CABm2gDocHGNiRtxci+bdp_QXo4iD7Z1HbW5s=4rFKj79Q8XGyg@mail.gmail.com>
References: <CABm2gDocHGNiRtxci+bdp_QXo4iD7Z1HbW5s=4rFKj79Q8XGyg@mail.gmail.com>
Date: Wed, 19 Aug 2015 20:30:31 +0200
Message-ID: <CABm2gDqYQ2QhMDosHCVDa8z4k3yJcXEqQJC01ORu53X69y8TLA@mail.gmail.com>
From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
To: Bitcoin Dev <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: Re: [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: Wed, 19 Aug 2015 18:30:34 -0000

On Wed, Aug 19, 2015 at 7:30 PM, Danny Thorpe <danny.thorpe@gmail.com> wrote:
>>>
> I would expect any uncontroversial hardfork to be deployed in testnet3
> before it is deployed in bitcoin's main chain.
> <<
>
> Ok, glad to hear that.
>
>>>
> In any case, you can already do these tests using
> https://github.com/bitcoin/bitcoin/pull/6382
> <<
>
> I saw your post about that awhile ago, thanks for doing the work!  My
> fiddling with that end of the food chain is gated by my needing to block out
> a weekend to set up a bitcoind build environment.
>
> How do "big-block" testnet nodes running this 6382 rev recognize each other
> on the peer network? If I set up a 2MB block limit testnet node and -addnode
> another 2MB block testnet node (say, JornC's node) to it, and my node mines
> a block stuffed with 1.3MB of test txs, the other "big-block" node should
> accept my mined block, but it will be rejected / immediately orphaned by the
> rest of the testnet network because it exceeds their notion of block size
> limit, correct?

I don't have the time to use the code to write tests and simulations
myself right now but I would be really happy about someone else doing
it.
Even though they share the same port and magic numbers, each of the N
testchains in #6382 has a different genesis block, so they will reject
blocks from any other testchain from the start.
But you will likely connect the nodes directly and manually to get the
network topology you want to test anyway.
I hope this answers your questions but I'm happy to answer any other
questions you may have.