summaryrefslogtreecommitdiff
path: root/bb/bb17fe1e72357373ce42d1591527b32a82617c
blob: 23f5d154dbaa15d33ac3e17bb9d03dd25a9aa7d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Return-Path: <rgrant@rgrant.org>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 17720C000D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 Sat, 12 Jun 2021 19:53:23 +0000 (UTC)
Received: by mail-wm1-f46.google.com with SMTP id
 u5-20020a7bc0450000b02901480e40338bso7742626wmc.1
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@rgrant.org>
Date: Sat, 12 Jun 2021 19:52:45 +0000
Message-ID: <CAMnpzfosBrAXY+kCW2ZRtsXLRCouGVak7S3mH8jXEgJNBmf8Ug@mail.gmail.com>
To: lightning-dev@lists.linuxfoundation.org, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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.