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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
Delivery-date: Mon, 23 Jun 2025 11:57:28 -0700
Received: from mail-oi1-f189.google.com ([209.85.167.189])
by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <bitcoindev+bncBAABBDWH43BAMGQEWTJII2I@googlegroups.com>)
id 1uTmMC-0000yj-D9
for bitcoindev@gnusha.org; Mon, 23 Jun 2025 11:57:28 -0700
Received: by mail-oi1-f189.google.com with SMTP id 5614622812f47-40abfc09f67sf879874b6e.3
for <bitcoindev@gnusha.org>; Mon, 23 Jun 2025 11:57:28 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1750705042; cv=pass;
d=google.com; s=arc-20240605;
b=F898N9OgX4QlmRZ2Sp89M40U6ZrMgfwIYdYQ/+VriBFVDdj8hyHn7VvJICywbIPZJA
D+qb4y3HPDNRFIJ9OsAYfNMdwAMJuyU7Anj32/ZyfJe6IUu048XUJ1TvrSyi3m+FPTMY
ZI3g3SPieIRH2bq4KZlLtEOC2Mri0GmHR+C/Ua2FXeIDiJ8reHawL5wIvusNQPk5EtCF
PO2XZk+zw0o7UBK55sT+t0m4YvfIhS7w/3MGYmIp/IjBfQrxw/k8a4BO0408rJTAMZk9
EqIn/h5ycyA+Xqdc4F2tUyGCtfszTj61e70nZLjNxrcLeBaBurZGwr7vb7RjEwp2BFu6
kPMw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to:mime-version:feedback-id
:message-id:subject:from:to:date:dkim-signature;
bh=0C3MVipjrUeEVCS2Y+t9fmBt0oBgKIQJ3XxKuM+iG0w=;
fh=Uzwbx1v3IQ06RE9YWD+HCLJPg/NmAMTxZwKaxmouVxk=;
b=W7C+ksnXdNnjZjQqkIwFXUd3MndyZQoMnG5kqjObgF+BWkLdusN9g80F/aMxj+xpWg
aCeuopTTPE3lCJIdOImX91Irk18Mq8F2XNtw4XsWvJXEYJNwNXnpmPYKNSAiQJX6ceKO
U5oO37Dhk0NoGwtAAP+GvMciVDICaNcv8YURhUWrZqeFKacEjvl+6DBqvL8tm0P+J3eV
sMwdUdJU+RFTdYypydDhV2PewIRpLFI7dxnEQ2YGa/0xFgTNGRBEt7doxFPEsnKAsNMA
/wTKkTVVpxdMOVJPEe2KToMna2zKXT+aPsjjdsm1l3sz41kh1kA55Ub0DWaRSWjkcSvl
fUoA==;
darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@achow101.com header.s=protonmail2 header.b=GAyUFgDp;
spf=pass (google.com: domain of lists@achow101.com designates 79.135.106.24 as permitted sender) smtp.mailfrom=lists@achow101.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=achow101.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1750705042; x=1751309842; darn=gnusha.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:mime-version
:feedback-id:message-id:subject:from:to:date:from:to:cc:subject:date
:message-id:reply-to;
bh=0C3MVipjrUeEVCS2Y+t9fmBt0oBgKIQJ3XxKuM+iG0w=;
b=BcRCygR7pTgDex8Pdv9BOsTfOjkbTrxWt+8HGoPsY0iRlenAwhhGkL1mxC9Y10G2hW
hZmjbEvJPzl490jkP9VZ2J0Rkvb+9ITGcAbV163mIbDNUuHlcVlwTsVrMlMVpQjkSsVY
AadvENA50310tCHjLSAFKg7B1ZjahjWiyp6D8ynam8Sk3rzZKvli2t4GFs8J4BsrA8Vf
YE9Gh3WQnvCtjVNQnbqJz3yv97CI/vwxdp0Amrj8GXXs+cAi+02Ys8uVANDA8qkBMnfW
DGs/JG+Vq7ZfUV3MKPI8Fh62psS8zWIeL7BSCPR4Z3BuE73iSxWXHBbtGKeodIvsglHF
r7pA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1750705042; x=1751309842;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:mime-version
:feedback-id:message-id:subject:from:to:date:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=0C3MVipjrUeEVCS2Y+t9fmBt0oBgKIQJ3XxKuM+iG0w=;
b=qL1ekpP64x5tvOQpmJp2W8/7iDA9s5nM5O2tqP8ffDnph+DGP11nVAsrQ8lpvGHLNa
ZeijT45tPczdRi3qkBqkX39itEXA6pEPMujAZ0v4B+hp+19jNdkdBLWyZkmifLpyQq4u
M54SG5dkHcyOOCPMOtgK9v9IqTnld2MwO1CZtATS8R3J1ipqFe2+pXNRDNLFQRTaa1Hg
yq7t/de/vVJ7GBRcGiFovyBx4w3TEiY4nomrYuyB2FyO8e9bDSLBOmb/Dw/6v8bwIrNG
ODrXftlBJT2WyMBEidwGKMyD2sv2y3dIjfP4Wqty1VRiy3/d6lpJgc42ROwqARb3db3o
qJIw==
X-Forwarded-Encrypted: i=2; AJvYcCWCQrjOKahive2L0g807oWvmIF7syRzd5WVLRxe/pvtnn5NHePtb8m6MvIoyKXJ2zaegSe55WL7o+8z@gnusha.org
X-Gm-Message-State: AOJu0Yy/DoyXeAm6150TdFPl4+TozWWOrHlCviMBVHGrYjx78jTxdtk9
1yujY8tPIJY5AEkQu+idga3E4o9JGFScMnTuTVPWJe+tktqUS7awWTVM
X-Google-Smtp-Source: AGHT+IHjvoz+iIWL7OmYIjgKEWbB//Jre2uqdEsufRrZEg5gAziB7VZeVDmhkbwRbVbweucG/uwhaA==
X-Received: by 2002:a05:6820:7607:b0:611:67d6:b142 with SMTP id 006d021491bc7-61167d6bf99mr6934892eaf.2.1750705041934;
Mon, 23 Jun 2025 11:57:21 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZeZlAamrE3dhJAxHKzvJ6HNJPs95vmvs2ZPN28TELO2sA==
Received: by 2002:a05:6820:c004:b0:611:730c:a293 with SMTP id
006d021491bc7-611730ca5bdls157739eaf.0.-pod-prod-02-us; Mon, 23 Jun 2025
11:57:18 -0700 (PDT)
X-Received: by 2002:a05:6808:144b:b0:3f4:1c2:874a with SMTP id 5614622812f47-40ac6f317e7mr9380871b6e.24.1750705038310;
Mon, 23 Jun 2025 11:57:18 -0700 (PDT)
Received: by 2002:a05:6402:1001:b0:604:5cbf:497f with SMTP id 4fb4d7f45d1cf-609be123beemsa12;
Mon, 23 Jun 2025 11:38:03 -0700 (PDT)
X-Received: by 2002:a17:907:290f:b0:ad8:908d:20f3 with SMTP id a640c23a62f3a-ae0a74734eemr47661066b.28.1750703881122;
Mon, 23 Jun 2025 11:38:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1750703881; cv=none;
d=google.com; s=arc-20240605;
b=FV3ZServlVjg788DF8JQgQW0hhiIimOGNxyEvMOt0Log+I+kGAKEC8voeuWDPHB6zC
9O8hg+iIG7ubC3xXhqA0rLbrrDpIIY3YmV8iJRG9oDrA1IBxk3ifqpmklOi4nsEcR6Fb
H3B11twRaNnhbC+hVJ6SBwFFMaUXaTZsZ2G+buCAPL0qI19WErzp3Cr1NyPrWI4AF7Il
wBuQ1RGO4NkgRXy6WOEaPrqU6V9HmFmNagiL5+/YSgOTmRbvWc2/jEeqlxfXWcGkLnkc
h8fM+gosyH65bPeGHAlijDkaPWe7aHOoWTPPlhbiSUnEjIfXn2V3wnevQGpxn8hP8Fq1
QzNg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=content-transfer-encoding:mime-version:feedback-id:message-id
:subject:from:to:date:dkim-signature;
bh=5TLeJKdL4MRqLRRvDpSDocT1jT1wc8V2ZD7B6O84vno=;
fh=VcGcg+Zjs9gw1uDcHbxsAILhBAcecnbJzZRdxgKVDIc=;
b=K49zLuAAlIuAdO6eCqoRh8HwEGsftOWmIfF4CUGnwNDHOkfo8wQmVxq5GHHpAj/M9G
AkTRD1OCvQ0KkeDwOstuuBdrG1fHrxKHb6CCuyRVb72lziFcayD5963vbqK3bMp/Q/Fy
wYodWxnyAC47laIMpdniEuq545TqiVO+RetvXzQMM9l0ElT/ELjnlszoHCMcryQAMeZm
6km1qV0AShZVE/HUU/ZlvXqKxh9Z8EO/Olzz8PLXCK6kiHKw0LWUmylHBv2KCrQSGKa7
AIET94p6mOhvzL/d0byVGRBhZ9fOShNlngI4+WMNNExL8Ja/M91bN2o+cW0avDRpSLTr
hkCw==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@achow101.com header.s=protonmail2 header.b=GAyUFgDp;
spf=pass (google.com: domain of lists@achow101.com designates 79.135.106.24 as permitted sender) smtp.mailfrom=lists@achow101.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=achow101.com
Received: from mail-10624.protonmail.ch (mail-10624.protonmail.ch. [79.135.106.24])
by gmr-mx.google.com with ESMTPS id a640c23a62f3a-ae05399c24bsi19450066b.0.2025.06.23.11.38.00
for <bitcoindev@googlegroups.com>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 23 Jun 2025 11:38:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of lists@achow101.com designates 79.135.106.24 as permitted sender) client-ip=79.135.106.24;
Date: Mon, 23 Jun 2025 18:37:52 +0000
To: bitcoindev@googlegroups.com
From: "'Ava Chow' via Bitcoin Development Mailing List" <bitcoindev@googlegroups.com>
Subject: [bitcoindev] Descriptors using H as a hardened indicator
Message-ID: <848d3d4b-94a5-4e7c-b178-62cf5015b65f@achow101.com>
Feedback-ID: 53660394:user:proton
X-Pm-Message-ID: 86881eb181a7bfcf93fbda2614e390d18c23bed5
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Original-Sender: lists@achow101.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@achow101.com header.s=protonmail2 header.b=GAyUFgDp; spf=pass
(google.com: domain of lists@achow101.com designates 79.135.106.24 as
permitted sender) smtp.mailfrom=lists@achow101.com; dmarc=pass
(p=REJECT sp=REJECT dis=NONE) header.from=achow101.com
X-Original-From: Ava Chow <lists@achow101.com>
Reply-To: Ava Chow <lists@achow101.com>
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -1.0 (-)
Hi All,
Recently someone pointed out that BIP 380 specifies that `H` can be used
as a hardened indicator in derivation paths, in addition to `'` and `h`.
However, there was also a test which suggested that `H` was not a valid
hardened indicator. A PR resolving this discrepancy by moving that test
from the invalid to the valid section was merged, but there is still a
question of whether this was the right course of action.
Currently, Bitcoin Core does not implement this, and AFAICT, neither
does rust-miniscript. There is an open PR to Bitcoin Core to allow `H`
(https://github.com/bitcoin/bitcoin/pull/32788), but ongoing discussion
suggests that perhaps the BIP should be modified instead as it seems
probable that no implementation of descriptors allows `H`.
So the question is: are there any implementations of descriptors that
emit descriptors that use `H` as a hardened indicator, or permit `H` as
a hardened indicator?
I think the former question is more useful to know as it is more
important that the descriptor implementations can parse each other's
products. It is possible that there are implementations that allow `H`
but do not emit `H`, since there are libraries that provide BIP 32
utilities which allow `H`.
Thanks
Ava
--
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/848d3d4b-94a5-4e7c-b178-62cf5015b65f%40achow101.com.
|