Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8200BB77 for ; Tue, 30 May 2017 21:24:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id F295924C for ; Tue, 30 May 2017 21:24:41 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id r63so1052095itc.1 for ; Tue, 30 May 2017 14:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=friedenbach-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ULATwgXY+kDNfaa7oJ55gwx5KIIQqpcq0JreLlDlJuM=; b=G+pGHExuzg78wmQOIT/PdegREdaXT3mN3eGh1HJilAtXvEVdZ1wuIMEhCOEYrdti7Z qvpEvMJ4IomScPqSqqnWPxFz/ZVdhl5+0aUDt4Wnn7j7w1W5gUbvxy6jyrO8B9CMcbFB UBXFcft+Q876Gxi4vb0FxV4xB9k7x+hBwvl9GgnmZrQmrlElrOyt7gYBXN01YfJ+PDfl B1q4PrrHoiDwcxKgOQPIihW1ZnBlZwqzZhcwx8xMNOgptmmFZ2Bn75qAsEF45ZP55ItT 2GeFnZ8TfpZpbefdSE925/3PzNpxjhMCVxMDqFplA5W0U8sobA9AI4OJ9FFEbygfA9AU 728A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ULATwgXY+kDNfaa7oJ55gwx5KIIQqpcq0JreLlDlJuM=; b=haLH43jHru9A9uqsZy4UhpNpJ75BGLcthZ0s8v903Xov9WhiY1QybuZxLBC8ucesc0 M1a/7UsrBR6Dc7SpycGCKRku7zy3GyNlYV+joVsIL0dyOiuh4X9LiDWgKEOe88CQAx4B H9ww6+8VX+I0rgJnvBd+yrJe0EJuX/Qa3YsWS8gOyZ6JK41vieICWeipAdi7Ey66om7P +OCq6Crd3UxJPp4JCquOgd1OCy8r4jdoPZlTLxl6ZchTTqKPCweXgIFGIjCMLLgKdiz0 Bn+A9Hof7A3yhdisxpIiTEeeQKzDai+6Kp+zZl7vQQHbupR7pHLQQjVsMJoRcI/sSvGq hCcg== X-Gm-Message-State: AODbwcAntlb+pjVq+JLm6rZ9JbdfXp81RN4cD3UcDpKhvwdlvY5vpOKE M8V/IPC84p95ptHb6ZfbvR1F+E0CjJYD X-Received: by 10.36.78.201 with SMTP id r192mr4213666ita.45.1496179481095; Tue, 30 May 2017 14:24:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.11.199 with HTTP; Tue, 30 May 2017 14:24:20 -0700 (PDT) X-Originating-IP: [73.189.35.88] In-Reply-To: References: <201705232023.40588.luke@dashjr.org> From: Mark Friedenbach Date: Tue, 30 May 2017 14:24:20 -0700 Message-ID: To: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Tue, 30 May 2017 21:33:41 +0000 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] Hypothetical 2 MB hardfork to follow BIP148 X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 21:24:45 -0000 The 1MB classic block size is not redundant after segwit activation. Segwit prevents the quadratic hashing problems, but only for segwit outputs. The 1MB classic block size prevents quadratic hashing problems from being any worse than they are today. Mark On Tue, May 30, 2017 at 6:27 AM, Jorge Tim=C3=B3n via bitcoin-dev wrote: > Why not simply remove the (redundant after sw activation) 1 mb size > limit check and increasing the weight limit without changing the > discount or having 2 limits? > > > On Wed, May 24, 2017 at 1:07 AM, Erik Aronesty via bitcoin-dev > wrote: >> Personally, I would prefer if a 2MB lock-in that uses BIP103 for the tim= ing. >> >> I think up to 20% per year can be absorbed by averages in bandwidth/CPU/= RAM >> growth, of which bandwidth seems the most constraining. >> >> - Erik >> >> >> On Tue, May 23, 2017 at 4:23 PM, Luke Dashjr via bitcoin-dev >> wrote: >>> >>> In light of some recent discussions, I wrote up this BIP for a real 2 M= B >>> block >>> size hardfork following Segwit BIP148 activation. This is not part of a= ny >>> agreement I am party to, nor anything of that sort. Just something to >>> throw >>> out there as a possible (and realistic) option. >>> >>> Note that I cannot recommend this to be adopted, since frankly 1 MB blo= cks >>> really are still too large, and this blunt-style hardfork quite risky e= ven >>> with consensus. But if the community wishes to adopt (by unanimous >>> consensus) >>> a 2 MB block size hardfork, this is probably the best way to do it righ= t >>> now. >>> The only possible way to improve on this IMO would be to integrate it i= nto >>> MMHF/"spoonnet" style hardfork (and/or add other unrelated-to-block-siz= e >>> HF >>> improvements). >>> >>> I have left Author blank, as I do not intend to personally champion thi= s. >>> Before it may be assigned a BIP number, someone else will need to step = up >>> to >>> take on that role. Motivation and Rationale are blank because I do not >>> personally think there is any legitimate rationale for such a hardfork = at >>> this >>> time; if someone adopts this BIP, they should complete these sections. = (I >>> can >>> push a git branch with the BIP text if someone wants to fork it.) >>> >>>
>>> BIP: ?
>>> Layer: Consensus (hard fork)
>>> Title: Post-segwit 2 MB block size hardfork
>>> Author: FIXME
>>> Comments-Summary: No comments yet.
>>> Comments-URI: ?
>>> Status: Draft
>>> Type: Standards Track
>>> Created: 2017-05-22
>>> License: BSD-2-Clause
>>> 
>>> >>> =3D=3DAbstract=3D=3D >>> >>> Legacy Bitcoin transactions are given the witness discount, and a block >>> size >>> limit of 2 MB is imposed. >>> >>> =3D=3DCopyright=3D=3D >>> >>> This BIP is licensed under the BSD 2-clause license. >>> >>> =3D=3DSpecification=3D=3D >>> >>> Upon activation, a block size limit of 2000000 bytes is enforced. >>> The block weight limit remains at 4000000 WU. >>> >>> The calculation of block weight is modified: >>> all witness data, including both scriptSig (used by pre-segwit inputs) = and >>> segwit witness data, is measured as 1 weight-unit (WU), while all other >>> data >>> in the block is measured as 4 WU. >>> >>> The witness commitment in the generation transaction is no longer >>> required, >>> and instead the txid merkle root in the block header is replaced with a >>> hash >>> of: >>> >>> 1. The witness reserved value. >>> 2. The witness merkle root hash. >>> 3. The transaction ID merkle root hash. >>> >>> The maximum size of a transaction stripped of witness data is limited t= o 1 >>> MB. >>> >>> =3D=3D=3DDeployment=3D=3D=3D >>> >>> This BIP is deployed by flag day, in the block where the median-past ti= me >>> surpasses 1543503872 (2018 Nov 29 at 15:04:32 UTC). >>> >>> It is assumed that when this flag day has been reached, Segwit has been >>> activated via BIP141 and/or BIP148. >>> >>> =3D=3DMotivation=3D=3D >>> >>> FIXME >>> >>> =3D=3DRationale=3D=3D >>> >>> FIXME >>> >>> =3D=3DBackwards compatibility=3D=3D >>> >>> This is a hardfork, and as such not backward compatible. >>> It should not be deployed without consent of the entire Bitcoin communi= ty. >>> Activation is scheduled for 18 months from the creation date of this BI= P, >>> intended to give 6 months to establish consensus, and 12 months for >>> deployment. >>> >>> =3D=3DReference implementation=3D=3D >>> >>> FIXME >>> >>> >>> >>> _______________________________________________ >>> bitcoin-dev mailing list >>> bitcoin-dev@lists.linuxfoundation.org >>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >> >> >> >> _______________________________________________ >> bitcoin-dev mailing list >> bitcoin-dev@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >> > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev