summaryrefslogtreecommitdiff
path: root/be/b96ba25cdf05c0745f6562e4c6de879cb32b48
blob: 6daa1c829df716a346009e67f0b31a949f68b4b2 (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
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
171
172
173
Return-Path: <kabuto@samouraiwallet.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 3B73C8DC
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu,  7 Sep 2017 03:53:40 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com
	[209.85.215.54])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 6A657A1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu,  7 Sep 2017 03:53:39 +0000 (UTC)
Received: by mail-lf0-f54.google.com with SMTP id l196so21754458lfl.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 06 Sep 2017 20:53:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=samouraiwallet-com.20150623.gappssmtp.com; s=20150623;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to; 
	bh=uxWZH44FrI4FlVd010SkxbOL0THrtpeiurQiGNirGyw=;
	b=AJpSzuI9gLlCLEVKIJnnlrF7L0U0XQ6knmVjZEH1hWESR/7WItMjBs506PH79FLXMP
	eOX+JoOJzbji3sARJBc5pykoogKm9cdJVr9Yc7j0z2rAIO/xwzHU1R2cRHNeVenPSf7n
	zhV99N6w07G+V+8+70rSCrfNzNEU5uc4pJGWyjyVoNan1ZYSwObXD40skMWuAYNlj2gS
	g5+jcOvDee0huqoT9OcL83LUU588/OLRQkFiWVVNWRJ8ixon5M0UVRr7GsqKECCP49gm
	55XmmeG4HIWNU8I5HewDDmfpuX24zD/+Ekpph525crk7twZyPcUSY3tMJHpFxSt7U+Qc
	macA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to;
	bh=uxWZH44FrI4FlVd010SkxbOL0THrtpeiurQiGNirGyw=;
	b=EVpTd45cO6o8CXEiQxF0Ly327nnPd0d/YVRxRsR0uKm2ts6r/1nsCoel4g510goNOE
	mAbq/HSWj8LHAiKK27k/6Ng1saLZOcWCZD2v/TSOxrkwhPJzZGa0CDGSOLcdfjvifUQ7
	Ct2UwmX5qKP64JSKR4yLcfpgJ8z6SXlBnEv6CdV2G4+Aqsxx2BkLucyv+aygiySS1NKQ
	EYF6+MBCfVz6KuTWuFuP5oAKroNWsOelNAmhnaQgnfIeURVaUGGLTvQ7hdqPXQ3I5YDW
	pRxY7OrtqDgDJasoA2Wf7q3WY0jsIOyS3z1bB1mHrvQpPEPVwYlxZy0ghiC2mTYhhSRM
	NsMQ==
X-Gm-Message-State: AHPjjUjAfSrEygm5MQwVcrFMal6D4UfVKE+lhoOdFVy9DFpLohfHvs4n
	GMkJD7IyMQluwqfS2OhoaqySXTO4rvgz
X-Google-Smtp-Source: ADKCNb4zrQ9wj/X7HAiluE56aO7wytwjC3W/Gsrc2Y39Wh187XyJ29ihMR7QKqVz84pTK7IGE8rpB2qb3CSnBNFu/3A=
X-Received: by 10.46.9.67 with SMTP id 64mr450638ljj.134.1504756417701; Wed,
	06 Sep 2017 20:53:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.148.23 with HTTP; Wed, 6 Sep 2017 20:52:57 -0700 (PDT)
In-Reply-To: <0d405f5d-c0a4-bad7-b6c3-08ba4424bf17@satoshilabs.com>
References: <0d405f5d-c0a4-bad7-b6c3-08ba4424bf17@satoshilabs.com>
From: Kabuto Samourai <kabuto@samouraiwallet.com>
Date: Wed, 6 Sep 2017 22:52:57 -0500
Message-ID: <CA+_kfXLvTKwkuYmtt94OPUEPPwsEzhRoryy7srKMbLxYDxnmFA@mail.gmail.com>
To: Pavol Rusnak <stick@satoshilabs.com>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="001a114b16acc04121055891674a"
X-Spam-Status: No, score=0.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=disabled
	version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Thu, 07 Sep 2017 05:24:00 +0000
Subject: Re: [bitcoin-dev] Proposal: Extended serialization format for
	BIP-32 wallets
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: Thu, 07 Sep 2017 03:53:40 -0000

--001a114b16acc04121055891674a
Content-Type: text/plain; charset="UTF-8"

Thanks for the proposal. Aside from potential privacy implications of
revealing the derivation path for non BIP-44, 45, 49 HD nodes, this scheme
is superior to the alternate {x,y,z}pub idea. Since coin_type is part of
the path, the 'xpub' prefix may be shared across all coins if they so
choose. This format provides lock-in for BIP-49 going forward and opens the
door for a parallel native-SegWit BIP.

The birthday field is interesting. Could you provide some motivation for
its inclusion?

Could you also add some test vectors?

There are a few minor grammar / spelling errors, but we can nitpick those
after this goes to the pull request stage on bitcoin/bips.

On Wed, Sep 6, 2017 at 5:29 PM, Pavol Rusnak via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> The discussion about changing bip32 version bytes for SegWit got me
> thinking and I ended up with what I think is the best proposal:
>
> https://github.com/satoshilabs/slips/blob/master/slip-0032.md
>
> (It is hosted in SL repo for now, but if there is will, I would love to
> have this added to BIP repo as an extension to BIP32)
>
> Feel free to comment.
>
> --
> Best Regards / S pozdravom,
>
> Pavol "stick" Rusnak
> CTO, SatoshiLabs
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>



-Kabuto

PGP Fingerprint: 1A83 4A96 EDE7 E286 2C5A  B065 320F B934 A79B 6A99

--001a114b16acc04121055891674a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the proposal. Aside from potential privacy impl=
ications of revealing the derivation path for non BIP-44, 45, 49 HD nodes, =
this scheme is superior to the alternate {x,y,z}pub idea. Since coin_type i=
s part of the path, the &#39;xpub&#39; prefix may be shared across all coin=
s if they so choose. This format provides lock-in for BIP-49 going forward =
and opens the door for a parallel native-SegWit BIP.<div><br></div><div>The=
 birthday field is interesting. Could you provide some motivation for its i=
nclusion?<br><div><br></div><div>Could you also add some test vectors?</div=
></div><div><br></div><div>There are a few minor grammar / spelling errors,=
 but we can nitpick those after this goes to the pull request stage on bitc=
oin/bips.</div><div><br></div><div class=3D"gmail_extra"><div class=3D"gmai=
l_quote">On Wed, Sep 6, 2017 at 5:29 PM, Pavol Rusnak via bitcoin-dev <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" t=
arget=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">The discussion about changing bip32 ver=
sion bytes for SegWit got me<br>
thinking and I ended up with what I think is the best proposal:<br>
<br>
<a href=3D"https://github.com/satoshilabs/slips/blob/master/slip-0032.md" r=
el=3D"noreferrer" target=3D"_blank">https://github.com/<wbr>satoshilabs/sli=
ps/blob/master/<wbr>slip-0032.md</a><br>
<br>
(It is hosted in SL repo for now, but if there is will, I would love to<br>
have this added to BIP repo as an extension to BIP32)<br>
<br>
Feel free to comment.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Best Regards / S pozdravom,<br>
<br>
Pavol &quot;stick&quot; Rusnak<br>
CTO, SatoshiLabs<br>
______________________________<wbr>_________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
<wbr>linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.<wbr>org=
/mailman/listinfo/bitcoin-<wbr>dev</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div><div =
class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"lt=
r"><div><div dir=3D"ltr">-Kabuto</div><div dir=3D"ltr"><br></div><div><font=
 size=3D"1">PGP Fingerprint:=C2=A01A83 4A96 EDE7 E286 2C5A =C2=A0B065 320F =
B934 A79B 6A99</font></div></div></div></div>
</div></div>

--001a114b16acc04121055891674a--