summaryrefslogtreecommitdiff
path: root/c6/68c32547a6bd4c84ccc6f189baf2744e460890
blob: ac08772ff8e3388c1ea04530593655dcf3c0775d (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
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
123
124
125
126
127
128
129
Return-Path: <dave@dtrt.org>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 426A5C000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat,  3 Jul 2021 03:25:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 27D6E842C8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat,  3 Jul 2021 03:25:34 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.725
X-Spam-Level: 
X-Spam-Status: No, score=-1.725 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_XBL=0.375,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: smtp1.osuosl.org (amavisd-new);
 dkim=pass (1024-bit key) header.d=dtrt.org
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 xpdwszdS0tYI
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat,  3 Jul 2021 03:25:33 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.8.0
Received: from newmail.dtrt.org (newmail.dtrt.org
 [IPv6:2600:3c03::f03c:91ff:fe7b:78d1])
 by smtp1.osuosl.org (Postfix) with ESMTPS id 26B07842C4
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Sat,  3 Jul 2021 03:25:32 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dtrt.org;
 s=20201208; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
 Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=zAXmPVxunKWN96Cjql++HXOumZAlvR1+T4q3vB7abMI=; b=YNVspIwF0TfL+7ARFDtbi3jaWJ
 xQfesMU2A4LqbiFPmqR3k38o/QOHFvTaEwzUmOpCeRVnQP2D3YZkx/BlsWdy29kGPHhdZVQ6RjqXP
 4JJfaDogMWuimT8Lu1F4H2OFwTfoFarPnryK2ueyvJff5Eb30RZJR6NbnPv5bPqReuRk=;
Received: from harding by newmail.dtrt.org with local (Exim 4.92)
 (envelope-from <dave@dtrt.org>)
 id 1lzWHb-0000K2-2k; Fri, 02 Jul 2021 17:25:31 -1000
Date: Fri, 2 Jul 2021 17:24:05 -1000
From: "David A. Harding" <dave@dtrt.org>
To: Andrew Chow <achow101-lists@achow101.com>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20210703032405.j3mru5rbag5sbfil@ganymede>
References: <1eb7b635-094c-a583-7dc0-21cea58ed1fb@achow101.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="wxn2r7x33xp45rdg"
Content-Disposition: inline
In-Reply-To: <1eb7b635-094c-a583-7dc0-21cea58ed1fb@achow101.com>
User-Agent: NeoMutt/20180716
Subject: Re: [bitcoin-dev] BIP Proposals for Output Script Descriptors
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, 03 Jul 2021 03:25:34 -0000


--wxn2r7x33xp45rdg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 29, 2021 at 09:14:39PM +0000, Andrew Chow via bitcoin-dev wrote:
> *** Optionally followed by a single <tt>/*</tt> or <tt>/*'</tt> final
> step to denote all direct unhardened or hardened children.
>=20
> [...]
>=20
> In the above specification, the hardened indicator <tt>'</tt> may be
> replaced with alternative hardnened indicators of <tt>h</tt> or <tt>H</tt=
>.

Is there any chance we can take this opportunity to make "h"/"H" the
preferred aliases?  Using "'" in bourne-style shells is very
annoying[1], and I suspect it's also creating unnecessary complications
elsewhere.

Alternatives:

- Completely kill "'" (I'd prefer this, but I realize it's complicated
  with descriptors already being used widely).  If "h"/"H" are made the
  preferred aliases, maybe it'd be enough to make implementing "'" a
  SHOULD rather than a MUST; this would push implementations towards
  displaying descriptors using the h versions for maximum compatibility.

- Calculate the checksum over s/(h|H)/'/ (again, I know that's
  complicated with descriptors already widely used)

Thanks,

-Dave

[1] https://github.com/bitcoin/bitcoin/issues/15740#issuecomment-695815432


--wxn2r7x33xp45rdg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgxUkqkMp0LnoXjCr2dtBqWwiadMFAmDf2FUACgkQ2dtBqWwi
adMEvQ//ciMtrdcsSzJA7qPTEhO8wLPaa4Lk4c1xNIJKReD8851b4cw6AkD7ohbQ
+p0U1iUiVQW0xSo4EwUOop11IQHBuAREqbcQWuB6js18lHdmojtuBk8QtijmNGVa
FFV6Dldbr1IiPR5NSJu8DP6FcZ/DbYBDTE+QSY/DhnfC0ZXml+D4WIHgnP4TJWeU
zIG9Pe3PnmUW7Pm87wJJ8502L6WT6fpgDfjhIrxPYO42LFehEjiCRtFRrpQ3kmqB
xG0CX19nVtleI8wxHm+Rt7+gxXRu7mD3+VQoXztmFNnuVNPYdVIXznBkYwm2ev7m
SC/nw0jLxf5eCGXx/H33SzS2KD4Tacos0ghdYe7eMABPQve8tBMWxv9z5saJSFoN
5F8jN9MCWeNTAWMReczI4wmODEFU2HU7BJGh0WSKV4p+uzlWgflxzHQMk9qxvY11
fXRz/vn1YQbxsSS7j4dCCMeqWL7U1CVA3/UKi9mEIAUISLzfLwru5D6NT8rAJwQo
DQl/P3iSzm386Ko9MdhMes9JVqiBvifs2qfU8xFDDus3UvJRdTidpZYXjWBV2cku
4YZdOzerifv2tz0yNc32ih0QPP8HZCx0MztJ7+AM44+Ie3EcyU1oqIEXVYzWvLIM
68W2Mqd2A97zru5jd5hS6BV9urVZ4zKW4r+BaHcbNDKVc9bfBSI=
=yi/4
-----END PGP SIGNATURE-----

--wxn2r7x33xp45rdg--