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
98
99
100
101
102
103
|
Return-Path: <rgrant@rgrant.org>
Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])
by lists.linuxfoundation.org (Postfix) with ESMTP id 1A5F2C000B
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 12 Jun 2021 20:57:36 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp2.osuosl.org (Postfix) with ESMTP id EEB2D40144
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 12 Jun 2021 20:57:34 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
RCVD_IN_MSPIKE_H2=-0.001] autolearn=unavailable autolearn_force=no
Received: from smtp2.osuosl.org ([127.0.0.1])
by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id riG-z_Uda_vD
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 12 Jun 2021 20:57:34 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.8.0
Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com
[209.85.221.43])
by smtp2.osuosl.org (Postfix) with ESMTPS id EAAE240003
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 12 Jun 2021 20:57:33 +0000 (UTC)
Received: by mail-wr1-f43.google.com with SMTP id l2so9831771wrw.6
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 12 Jun 2021 13:57:33 -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:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=90CdhZtYoDZfv8xHdcWSFEzc93vBLhaH8fgo7hFe8S8=;
b=OVhmpPuaxYYOWPGUx3cVojeyFl5VHSfk/b3VYX8IlVRUq4Y661tbOob8lQ0rXI2LRp
Yp5mHGespJqAbLbft+Wd91OMP0VCBmB9oLzhl0oHijkiYFwNoARZpwJBDc4JUA/Kbpy8
ilFY/B42wYyYSTQOr882jDWT4tDvFzoR5u6lit3+GGTWfeck3LlWdF1n9VIXbW9bKdbi
KWznBnwBZlGqGsYtPKbGTRBWZ9KigdjwJiI8yjcmreOonNTjRikwulhctseEpTFwS3ez
UTnjBzRxW+fivfpgfHYlXEa0OFwytOH5tIDSX7d98eY3YIgE+5lBqXasMlyVGKbnLijy
ckbw==
X-Gm-Message-State: AOAM530FwCr7dfnAVeZjVcvHrfvYlp6u/W6MkhnOXq0oFM/O9qYVlLzo
0nEsbOUiGm8Tuy3Z24nG9aTEwLch+johfhAL33eUlg==
X-Google-Smtp-Source: ABdhPJzi95esNPnGgKRs0VQJiqi8zgtj3nQTS58FhzZSw1BsQ25e2YBmqgeIyC8lz2Hp17jr3R2E1R/ReMOE4Z5qfgg=
X-Received: by 2002:a5d:4752:: with SMTP id o18mr10451157wrs.323.1623531452079;
Sat, 12 Jun 2021 13:57:32 -0700 (PDT)
MIME-Version: 1.0
References: <CAMnpzfosBrAXY+kCW2ZRtsXLRCouGVak7S3mH8jXEgJNBmf8Ug@mail.gmail.com>
In-Reply-To: <CAMnpzfosBrAXY+kCW2ZRtsXLRCouGVak7S3mH8jXEgJNBmf8Ug@mail.gmail.com>
From: Ryan Grant <bitcoin-dev@rgrant.org>
Date: Sat, 12 Jun 2021 20:56:55 +0000
Message-ID: <CAMnpzfqtmvKUECn_eZiF16pWfXu_rdne8T4YyC021_T==BTOuw@mail.gmail.com>
To: Ryan Grant <bitcoin-dev@rgrant.org>
Content-Type: text/plain; charset="UTF-8"
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>,
lightning-dev@lists.linuxfoundation.org
Subject: Re: [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 20:57:36 -0000
Apologies, I found the discussion going on here:
https://github.com/bitcoin/bips/pull/943
On Sat, Jun 12, 2021 at 7:52 PM Ryan Grant <bitcoin-dev@rgrant.org> wrote:
>
> 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.
|