Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 17720C000D for ; Sat, 12 Jun 2021 19:53:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 05A618366E for ; Sat, 12 Jun 2021 19:53:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: 1 X-Spam-Level: * X-Spam-Status: No, score=1 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, BITCOIN_OBFU_SUBJ=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cij2LJSjU6ll for ; Sat, 12 Jun 2021 19:53:27 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by smtp1.osuosl.org (Postfix) with ESMTPS id 254A282D2F for ; Sat, 12 Jun 2021 19:53:23 +0000 (UTC) Received: by mail-wm1-f46.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso7742626wmc.1 for ; Sat, 12 Jun 2021 12:53:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yLeg/FidRKbDBFBu2w5oVIEEgO6KcEgfejbYfQUMNls=; b=cOkj5hgglwhuyIxDZ1NlXpBoDQry1+dWq8DP0v6B8mfMuzv66M9nC22l8lS7fE9UgB nF4hQgKFTBwl4e+DRSh2XtrO0VOwQTp2zxvMTNiYcks7i6ALhyQc5vk5fvRJafOkEYss UiroBii8iFFGhqpXCFHCAiOxnyc9AhVmbE2BSVmVBw9tPCbyzlAIUWOHfVNFVM5zVYMV NDtg21vG2Ivpm6TfLm6/ZLeNUQ2D0ArufJPt2omx7BoUzXSPmdQQqE4cz0kBecIwraW7 RwoNEhZrDTMe7e5tSS1Isdv0j11h3n7gOxNqqDwaU0vzYefCkgjQ7kcbH34+pM5Q1sIJ vsCg== X-Gm-Message-State: AOAM533VTUYIOuDIvYbY1At+tvje4RZEx/rmNEYFEjHi3fG2ev28MOSM CKWMJEATaHYC2C/J0Ap1pZIZD2DqITkCr2P0zpfmKhfeQ1eTYick X-Google-Smtp-Source: ABdhPJy37zizncncor5Y9xb7x1B/wuWl9L7JkrjAS7O4c3vo89l83ilT79L6yZujrsMOznw9/asTAeZTsCgwV4kSsQ8= X-Received: by 2002:a05:600c:2f10:: with SMTP id r16mr9209672wmn.153.1623527601593; Sat, 12 Jun 2021 12:53:21 -0700 (PDT) MIME-Version: 1.0 From: Ryan Grant Date: Sat, 12 Jun 2021 19:52:45 +0000 Message-ID: To: lightning-dev@lists.linuxfoundation.org, Bitcoin Protocol Discussion Content-Type: text/plain; charset="UTF-8" Subject: [bitcoin-dev] BIP118 confusion / SIGHASH_NOINPUT is now SIGHASH_ANYPREVOUT (i think) 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: Sat, 12 Jun 2021 19:53:30 -0000 Hi, I have detected some definite confusion among people who are not aware of the most recent updates to the bip118 draft. I don't know if that's common among readers of these lists. Substantial edits to the bip118 draft were made through May 2019, including changing its official name to SIGHASH_ANYPREVOUT. The internal heading "Revisions" discusses these changes. https://github.com/ajtowns/bips/blob/c7c6a58b7a66a5dc5f4435319577d26a34082a79/bip-0118.mediawiki#Revisions https://github.com/ajtowns/bips/compare/master...ajtowns:bip-anyprevout https://github.com/ajtowns/bips/blob/c7c6a58b7a66a5dc5f4435319577d26a34082a79/bip-0118.mediawiki The version in bitcoin/bips was not modified since 2018, until it diverged by collecting a minor fix two months ago. It still uses SIGHASH_NOINPUT terminology. https://github.com/bitcoin/bips/blob/master/bip-0118.mediawiki AFAICT, with taproot activating, the preferred method to ease lightning network client state requirements will now definitely be SIGHASH_ANYPREVOUT. I am not aware of reasons for bip118's updated draft to sit on the sidelines before consideration by a wider audience.