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
|
Return-Path: <decker.christian@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 2ED525AA;
Mon, 7 May 2018 19:40:56 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wr0-f178.google.com (mail-wr0-f178.google.com
[209.85.128.178])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 564D3F4;
Mon, 7 May 2018 19:40:55 +0000 (UTC)
Received: by mail-wr0-f178.google.com with SMTP id f2-v6so18102491wrm.3;
Mon, 07 May 2018 12:40:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
bh=Zpl+vosTpi/mCQtOCIqyFhNv8tOvNRQqK95QYZSYvis=;
b=OmP/vk+kVYa0PDwL8giDsglxWpKYTEzuWE/FrQH0v4wdtz67mncaJ8wQJOb2jC2DY+
yYt9O9DxU2x+l99zwWr1J6Wm1krzPGGAQuwvRBzYZ3htXm5dsBJfaj5fQZqKyvpLKEH7
BIAsoAHgiEO5FbOl1e7mlJMiQZZfXBF89mxizC/zU6nb1xHGW2vmiDOW2+10nTLlHRVb
fJ7q0N1sLNh94W39n2Gxr4d6rer48belOndOGESPrvdlVmR/qKewhQ8uN+wdgjW7S1oo
VfQ0Z9HA7onmnimBtQIfhWsoLIzCLxByp6SH+cuS/fdFVQXpmi71xyI9qzXj0OpC8erT
qtAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:in-reply-to:references:date
:message-id:mime-version;
bh=Zpl+vosTpi/mCQtOCIqyFhNv8tOvNRQqK95QYZSYvis=;
b=TJ9KSiZCwXISmONTC70/+1hDcuXmmLLb33ohON3d7DqeTIE6FF0p9gfqyYS3P1+8OP
dfSU6VKQoU+OUad3ilDjedLMxLndRoxt2wQRFQHATJ/e4m7sX4MC6WWxgIfl+cYcloyr
2is3yT9ggzV6dFhJ4LobNKRUmj14+wu4sWoAIKS0gliYgrhU4pYb51iqAq/EZQrv+Ay2
3aYUUJT9NWuKlSUOPw0PCHzCiimnlZauL130YGd41avl70hZeGv5X2bEhHKPA0Gl78ug
u3Czv9rQqhDAJMyvZlP/3egyvDDC7ugUQ8gT79+cexyKLsDiwMV/qD/N3nvMK69+8qyC
wYEg==
X-Gm-Message-State: ALQs6tAvdnISlnoYv63fqyx1+YJoVmNoxTJ7uF16ENq+cVyQ1MQwdb5Q
czDNt76ZI4QESriEqCO3fRjhq/eR
X-Google-Smtp-Source: AB8JxZqFvGU4LGKcpDV9w+1N1pmpGg9s/3dLm3kcrwI2FWdZ8THztirO7C83Zj8CcXSIRLSbGwt7CQ==
X-Received: by 2002:adf:c301:: with SMTP id
n1-v6mr30775300wrf.26.1525722053674;
Mon, 07 May 2018 12:40:53 -0700 (PDT)
Received: from localhost ([2a02:aa16:1102:5480:e99:3f63:40a2:83e9])
by smtp.gmail.com with ESMTPSA id
w31-v6sm54167783wrb.93.2018.05.07.12.40.52
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 07 May 2018 12:40:52 -0700 (PDT)
From: Christian Decker <decker.christian@gmail.com>
To: lightning-dev@lists.linuxfoundation.org,
bitcoin-dev@lists.linuxfoundation.org
In-Reply-To: <871sewirni.fsf@gmail.com>
References: <871sewirni.fsf@gmail.com>
Date: Mon, 07 May 2018 21:40:46 +0200
Message-ID: <87sh73fe4h.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM,
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
Subject: Re: [bitcoin-dev] BIP sighash_noinput
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
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: Mon, 07 May 2018 19:40:56 -0000
Given the general enthusiasm, and lack of major criticism, for the
`SIGHASH_NOINPUT` proposal, I'd like to formally ask the BBEs (benevolent
BIP editors) to be assigned a BIP number. I have hacked together a
simple implementation of the hashing implementation in Bitcoin Core [1]
though I think it's unlikely to sail through review, and given the lack
of ground-work on witness V1 scripts, I can't really test it now, and
only the second commit is part of the implementation itself.
One issue that was raised off list was that some fork coins have used
sighash 0x40 as FORKID. This does not conflict with this proposal since
the proposal only applies to segwit transactions, which the fork coins
have explicitly disabled :-)
I'm looking forward to discussing how to we can move forward to
implementing this proposal, and how we can combine multiple proposals
into the next soft-fork.
Cheers,
Christian
[1] https://github.com/cdecker/bitcoin/tree/noinput
|