From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9F71AC000E for ; Mon, 6 Sep 2021 02:36:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 81B5A40428 for ; Mon, 6 Sep 2021 02:36:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: 1.61 X-Spam-Level: * X-Spam-Status: No, score=1.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=dtrt.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LesDsmuLvuWf for ; Mon, 6 Sep 2021 02:36:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from newmail.dtrt.org (newmail.dtrt.org [IPv6:2600:3c03::f03c:91ff:fe7b:78d1]) by smtp4.osuosl.org (Postfix) with ESMTPS id 7CAE340426 for ; Mon, 6 Sep 2021 02:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dtrt.org; s=20201208; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AWf4Y4/C96bKcPdiDKgiuM/08gte7DOx8PrVhjNHKbE=; b=kAxk245WGLfRwomRYoBhDZ7BBK /QA4LOF6TWW+k6OJ5R1WwcA1cEVvmkYVhF50RTk0HOxh62XkkxMU4lUtgaulZBPdJr37aYpx3QQJd Oy6jeab1JJ8RrBd39lfBBOY1FMUPnQl1Ko9Zf/CxYgsZKkpQxWOxNnpC1FoWol0jKS0E=; Received: from harding by newmail.dtrt.org with local (Exim 4.92) (envelope-from ) id 1mN4Up-0005xI-Ch; Sun, 05 Sep 2021 16:36:31 -1000 Date: Sun, 5 Sep 2021 16:35:25 -1000 From: "David A. Harding" To: Jeremy , Bitcoin Protocol Discussion Message-ID: <20210906023525.nui6beegrzopwfq4@ganymede> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="52qj6cwwdq7cgxl2" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Subject: Re: [bitcoin-dev] Note on Sequence Lock Upgrades Defect X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2021 02:36:34 -0000 --52qj6cwwdq7cgxl2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 03, 2021 at 08:32:19PM -0700, Jeremy via bitcoin-dev wrote: > Hi Bitcoin Devs, >=20 > I recently noticed a flaw in the Sequence lock implementation with respect > to upgradability. It might be the case that this is protected against by > some transaction level policy (didn't see any in policy.cpp, but if not, > I've put up a blogpost explaining the defect and patching it > https://rubin.io/bitcoin/2021/09/03/upgradable-nops-flaw/ Isn't this why BIP68 requires using tx.version=3D2? Wouldn't we just deploy any new nSequence rules with tx.version>2? -Dave --52qj6cwwdq7cgxl2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEgxUkqkMp0LnoXjCr2dtBqWwiadMFAmE1fm0ACgkQ2dtBqWwi adPpuw/9GpDK96FVnCfozpD0/f6LJu7cm+nDTfJ0Y+8t3srOy+Rq4Tc6O3/Db6lK 1ukNQVZ69VdGlCuIvgM0i6BOBp29F1uYJ/JJqTxI8PwICpO6iz6CIGnQPjNfr8X7 A2PnAVi+NgSGY1arbVTx49+tAir16eTEtRMgGByrW2OoiBNqBADLl5K4SaE931Xh t3qKBdYMZEG7vg5mkl7rhdzm2/cxXM63YbXHr09C/Z2TnFdwuW6mdgMuftxcw+3u y/ZYKZwJ9DlnrIIALVUUU4TyCw7d67KXpy5H1AlGYaeW/+9zOfqiSJjHaFbidm85 KkiXnLNNs92VPGdktV4SbyHI/TW4Tw4Mbvl2LPRtSx+daUssvB9VGY2NZmshPRzb Fw0IpyCdkwBgscFnKQ31MJ752Rzlo4lhiVA4LieAAOtPppgklfWe+wXL1Ph/qN8/ WAIxPZ5pEIcd//uOucmPNH5u4Wa098jXuDrw8ZULWlArUDv+wZ+P74z/IYb3O80V MYgfoHk44Kelo+GDKvh8UexZC8t7clpOeP3Kwprb/J2iefFmaJHudQkLuzfVxdeS mFabt6T1vfd0bvO337ADNekwodHD0iNVTDF4MNJGjdarJW/GVzbRgH0eyMfLjU28 6ktoUWovvxewCQYGjH9zbut/wUn1PmfTubAqLVkCqzdUDXVbUa4= =sOEH -----END PGP SIGNATURE----- --52qj6cwwdq7cgxl2--