Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id DAD8BDB1 for ; Wed, 9 Dec 2015 01:31:52 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 53AD1122 for ; Wed, 9 Dec 2015 01:31:52 +0000 (UTC) Received: by ioc74 with SMTP id 74so43634460ioc.2 for ; Tue, 08 Dec 2015 17:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RSYy+nhhTHu6sdxH2yT2lNOzsj4FxxLO7FPMiciV5NM=; b=NdiPwT8MM62xgc400XF3NWEt+c1VFtO6tuHHtJlUjXVXjV969Isk8DzROkIu88YdXk HcWGYn8tptaDvH/o0QEa7GeGhouLItjVvsmKWwXWvxH7EzVFlMMSDpjE4JFHg/1/ezkL d3UrsskvqXNe++H7N0BRfeWJXtO0sPlJJGX9rW5eo3F7R+8wrJkfq5T6ceuVZsPCOKpx qE3lyNe0MUWnqd7ZM5FmIHYuk/CebnL/O0xGLqwDmelXhU0RJB8q8gs/UaWv9KwGSIYf heCappPwBsPGUYhoA8sheoWy/E5ymeMB3vVrrHthX1P2EQsVcpS7fDowq90tgbxNcIao wwtQ== MIME-Version: 1.0 X-Received: by 10.107.34.199 with SMTP id i190mr3047350ioi.150.1449624711781; Tue, 08 Dec 2015 17:31:51 -0800 (PST) Sender: gmaxwell@gmail.com Received: by 10.107.192.70 with HTTP; Tue, 8 Dec 2015 17:31:51 -0800 (PST) In-Reply-To: References: <20151208110752.GA31180@amethyst.visucore.com> Date: Wed, 9 Dec 2015 01:31:51 +0000 X-Google-Sender-Auth: FJpYI0k4r5alWrFKDvJIAtkqJK8 Message-ID: From: Gregory Maxwell To: Gavin Andresen Content-Type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] Capacity increases for the Bitcoin system. 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, 09 Dec 2015 01:31:53 -0000 On Wed, Dec 9, 2015 at 1:09 AM, Gavin Andresen wrote: > Create a 1-megabyte transaction, with all of it's inputs spending > segwitness-spending SIGHASH_ALL inputs. > > Because the segwitness inputs are smaller in the block, you can fit more of > them into 1 megabyte. Each will hash very close to one megabyte of data. Witness size comes out of the 1MB at a factor of 0.25. It is not possible to make a block which has signatures with the full 1MB of data under the sighash while also having signatures externally. So every byte moved into the witness and thus only counted as 25% comes out of the data being hashed and is hashed nInputs (*checksigs) less times. > I think it is a huge mistake not to "design for success" (see > http://gavinandresen.ninja/designing-for-success ). We are designing for success; including the success of being able to adapt and cope with uncertainty-- which is the most critical kind of success we can have in a world where nothing is and can be predictable. > I think it is a huge mistake to pile on technical debt in consensus-critical > code. I think we should be working harder to make things simpler, not more > complex, whenever possible. I agree, but nothing I have advocated creates significant technical debt. It is also a bad engineering practice to combine functional changes (especially ones with poorly understood system wide consequences and low user autonomy) with structural tidying. > And I think there are pretty big self-inflicted current problems because > worries about theoretical future problems have prevented us from coming to > consensus on simple solutions. That isn't my perspective. I believe we've suffered delays because of a strong desire to be inclusive and hear out all ideas, and not forestall market adoption, even for ideas that eschewed pragmatism and tried to build for forever in a single step and which in our hear of hearts we knew were not the right path today. It's time to move past that and get back on track with the progress can make and have been making, in terms of capacity as well as many other areas. I think that is designing for success.