Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 0A5D4408 for ; Wed, 16 Oct 2019 19:07:29 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0CA078A7 for ; Wed, 16 Oct 2019 19:07:27 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id d22so11716676pls.0 for ; Wed, 16 Oct 2019 12:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purse.io; s=google; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=mkm35w217W8YeCU/Xv9Ev1YgZsTbVsuxUpS3xVC+rT0=; b=VZUfc8HdYE5ppe2YwHFu3xns1uZIOleJYzIuYfY3kzDPXOsLWiE22FBRHz1guPvpiB MnXIH44X1BLFh8s6Q1jduTHpNcaaRco7Z241sMbqOUMxgIwumtaS8UE8Z3xSEZb94PCY fzD+5zSsXym1qCfyHH+kaHSCuJ+OYqJpyrRCY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=mkm35w217W8YeCU/Xv9Ev1YgZsTbVsuxUpS3xVC+rT0=; b=RKQZUCFWShWtjfmjyZSVSAXx0tvZhZ9WKja090d+10nCU6uX+W/Szo38RNWnlaPyqP B2OhHYEKBHl6m+PcjYClsbgcRoueaUEac5WJjLBozvCVDWMfVCxQeGZcPKfasU6MO5LS XEko0CcwfN4UHFct+otsQTYO3uag5s81W/Hto7dxUrRLMJchO0ZBkTKEvMO/uTRD6zD8 vKh+bkNGVCltT07fuK3xf/RmBVCFWqQC6uoiluQr9g/j66YTN1Ja2gwa9kSltYtZVPw+ 1D+Yjr3lNrl6lj1FINzkL6GMTX9M69FoFWymR+bDywCMpRdiBzmYSR5LWecYNRuBDBRV /NNA== X-Gm-Message-State: APjAAAVHCBunAHRvV2AdCSvnlWt9pDGN1h3Z59fO1NVQhG2hsZZwYnvM 7pvdyrOlmwb3gIobgToc3OmKjm4sLYU= X-Google-Smtp-Source: APXvYqzG35DLu7yt0DDAw5X6hFWDyKnYv3bHzBtYg97Kdey9ol6g6f1OjveWZWUN6NCLj2Ifz/uDig== X-Received: by 2002:a17:902:ab89:: with SMTP id f9mr42425769plr.295.1571252847128; Wed, 16 Oct 2019 12:07:27 -0700 (PDT) Received: from [10.0.0.199] ([198.244.101.193]) by smtp.gmail.com with ESMTPSA id w2sm16134087pgr.78.2019.10.16.12.07.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Oct 2019 12:07:26 -0700 (PDT) To: Tier Nolan , Bitcoin Protocol Discussion References: <42cd5ffd-63e8-b738-c4ea-13d0699b1268@purse.io> From: Braydon Fuller Openpgp: preference=signencrypt Autocrypt: addr=braydon@purse.io; keydata= xsFNBFsEkasBEAC4oPJQsFWAM0OjNJlYUxJbTV8bo1TgXwZdNZWewG6fvQQ+iGGImy/a5h10 /9V+/Ctio8ayAfpk6V3z/vxq8IdPVcsWccHLnguaAEEhYnKdGZfsohcQMO4LR63R6vPrUYUJ ehVzt2YZ5F495iRDKwbQLXbmXF9vLtaKuf/6hbVmlG7bM59eVKcvpE8EKm95Lpw+CBE3uKc3 RxTcKHgo6QrkClm19GNDDkmHxM/k+hGT3M+sXGhgpL2940AGKsXuTPghgLQ+5seBWtzuWV31 Uf0ltHx6Ks1w0mlgZZ+u4wlljMHIBKLr4cYDOF8AYxyVcPzuQLdRjIIKEgpMDQW7ftbgGM/q hgGg2mN036KTUfT1HkmT82Z3D3z4ACJ/bY/J+mJw0baqcJpezndd1M6dnDNF9Slst2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9ClG1d3YM7kDxVkgdIVAWhEY905HB4 KXQZd0eW19JjNwLVMNzgBh07BiaXl16tWY+P7pQdPrbLctiIVqsYx+IU74M7riDEMTGjsosr lL56VCOJffiN9F1L Message-ID: <8d1e2696-0245-638a-61fa-8f79845136d5@purse.io> Date: Wed, 16 Oct 2019 12:07:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE 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: Wed, 16 Oct 2019 19:45:31 +0000 Subject: Re: [bitcoin-dev] Chain width expansion 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: Wed, 16 Oct 2019 19:07:29 -0000 On 10/12/19 1:46 PM, Tier Nolan via bitcoin-dev wrote: > On Sat, Oct 12, 2019 at 6:56 PM Joachim Strömbergson wrote: >> On different note, one of the problems that I haven't seen mentioned here >> yet is the timewarp attack. It is relevant to some of the proposed >> solutions. It should be possible, IIRC, for a malicious node to generate >> much longer chain with superslow timestamp increase (~5 blocks in 1 second) >> without increasing difficulty (i.e. staying at min. diff.). This could >> produce chain that is ~2500 times longer than main chain without having >> multiple branches. >> > [..] > > The timewarp bug can be fixed by a basic soft fork. You just need to limit > the maximum difference between the timestamp for the first header in a > period and the last header in the previous period. Yeah, that makes sense as it corrects the off-by-one error. I think this solution has been included in a draft proposal "The Great Consensus Cleanup". It would need to be effective for not only the main chain but also for any future forked chain.