Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 5EA8A8F4 for ; 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 ; Wed, 19 Aug 2015 18:30:33 +0000 (UTC) Received: by lbcbn3 with SMTP id bn3so8944324lbc.2 for ; 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: References: Date: Wed, 19 Aug 2015 20:30:31 +0200 Message-ID: From: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= To: Bitcoin Dev 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2015 18:30:34 -0000 On Wed, Aug 19, 2015 at 7:30 PM, Danny Thorpe 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.