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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
Return-Path: <gmaxwell@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 15984C7A
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 6 Jan 2018 00:44:23 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com
[209.85.213.41])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 60789CE
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 6 Jan 2018 00:44:22 +0000 (UTC)
Received: by mail-vk0-f41.google.com with SMTP id o16so4457178vke.12
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 05 Jan 2018 16:44:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:sender:in-reply-to:references:from:date:message-id
:subject:to:content-transfer-encoding;
bh=eb5oroU3qWpmOGv91tXDXmCzLCmx8XdnG+PuJVWSqgI=;
b=vWkMSq3QhQCOS2k2xgBt3AiKsTLhibMnTwNRF06ckhNq5c3Hz+hafwZ3iZl7lUnDjL
GDSrEfShg41LtndR/CIBFjKlDrxvu+JbpUX0YpIfh2kf1w+Kxt/heBl9HEQot4YN7OsM
/poSs+H+jsaNoPcX3HIeDQMtAh5iCUyYvhLY29dQjWlxPF5/mq1TEOy6IGQKLM+IGG3s
qYH770A1Ji8c83W2j02Oq0NA4X63Q0U0OcdQfDmVC8zC+N1AqsfnN8dA/vX6Dfr9v+J8
cV3PsO/C/6iGOH2oZasT2ZaCyWlA8yCazKrh6sz05i88WSe07yu3ooZGtliARZo11Gtg
uUFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
:date:message-id:subject:to:content-transfer-encoding;
bh=eb5oroU3qWpmOGv91tXDXmCzLCmx8XdnG+PuJVWSqgI=;
b=Oa6CQ0L3p729qbnuyAyI5yCF0DuYWXlhjsD80MKivTaHmkM2cSn+0GAAGvnP+NN5n1
UUaJOpwgEWIUpEyMHnBsH0/1s/eTYIGNXX4luQE7I9Tfl7Bbx/dSkmhk+gBymi67VRym
ILj0RmO0+2NTf3rodm4OyoJ/INSNlDX0uWCobqsCcrfc7wRQDhHehxhcOjw3944k8U1x
BmUxEueB2QNxKi5gNqGyEJaTIFCDoeoWEFfx6ZCxEVZaqhIUaLQGrdEV+BPtlLYilDk9
MKuak2KOrb6dnitvyNKC9RmFgdT56cTaqWtAnKDN1yQStM4Y4g2PBmbTkVF3mDiZWvXj
BTuA==
X-Gm-Message-State: AKwxyteud2JULlFtaZdh2+IQ5tdnGaUQtHR3Fn49pf97IRiCPdW6FdVH
JVM3ybVhgd2QZA22qbYZSGtjPC+R4mt5o9H5Ro4=
X-Google-Smtp-Source: ACJfBou3bFy5WDweBum1MRdFoKZMcvhA57ki7gQJsj3ANRqw+2teKqch8o7g42O/jOz2TuMLuud5Omcn6RJuZSVI9JY=
X-Received: by 10.31.120.129 with SMTP id t123mr4407840vkc.172.1515199461478;
Fri, 05 Jan 2018 16:44:21 -0800 (PST)
MIME-Version: 1.0
Sender: gmaxwell@gmail.com
Received: by 10.103.85.148 with HTTP; Fri, 5 Jan 2018 16:44:20 -0800 (PST)
In-Reply-To: <201801041423.05959.luke@dashjr.org>
References: <201801041423.05959.luke@dashjr.org>
From: Gregory Maxwell <greg@xiph.org>
Date: Sat, 6 Jan 2018 00:44:20 +0000
X-Google-Sender-Auth: d7KLZ69jrj3fWQ7b0mLYJkf7WOc
Message-ID: <CAAS2fgQT33QhZrSoGvi=_i0pREuqU+A82zSekFkC1M8av+ufRA@mail.gmail.com>
To: Luke Dashjr <luke@dashjr.org>,
Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, 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] =?utf-8?q?Bech32_and_P2SH=C2=B2?=
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: Sat, 06 Jan 2018 00:44:23 -0000
P2SH^2 wasn't a serious proposal-- I just suggested it as a thought
experiment. I don't think it offers much useful in the context of
Bitcoin today. Particularly since weight calculations have made output
space relatively more expensive and fees are at quite non-negligible
rates interest in "storing data" in outputs should at least not be
increasing.
Moreover, unfortunately, people already rushed bech32 to market in
advance of practically any public review-- regrettable but it is what
it is... I don't think adding more address diversity at this time
wouldn't be good for the ecosystem.
What we might want to do is consider working on an address-next
proposal that has an explicit timeframe of N years out, and very loud
don't deploy this--- layered hashing is just one very minor slightly
nice to have... things like coded expiration times, abilities to have
amounts under checksum, etc. are probably more worth consideration.
On Thu, Jan 4, 2018 at 2:23 PM, Luke Dashjr via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> wrote:
> I know I'm super-late to bring this up, but was there a reason Bech32 omi=
tted
> the previously-discussed P2SH=C2=B2 improvements? Since deployment isn't =
too
> widespread yet, maybe it'd be worth a quick revision to add this?
>
> For those unfamiliar with the concept, the idea is to have the address in=
clude
> the *single* SHA256 hash of the public key or script, rather than
> RIPEMD160(SHA256(pubkey)) or SHA256(SHA256(script)). The sender would the=
n
> perform the second hash to produce the output. Doing this would in the fu=
ture
> enable relaying the "middle-hash" as a way to prove the final hash is in =
fact
> a hash itself, thereby proving it is not embedded data spam.
>
> Bech32 seems like a huge missed opportunity to add this, since everyone w=
ill
> probably be upgrading to it at some point.
>
> Luke
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
|