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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <tamas@bitsofproof.com>) id 1WTCq8-0005kU-0M
for bitcoin-development@lists.sourceforge.net;
Thu, 27 Mar 2014 16:07:36 +0000
X-ACL-Warn:
Received: from wp059.webpack.hosteurope.de ([80.237.132.66])
by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.76) id 1WTCq6-0004Df-3p
for bitcoin-development@lists.sourceforge.net;
Thu, 27 Mar 2014 16:07:35 +0000
Received: from [37.143.74.116] (helo=[192.168.2.2]); authenticated
by wp059.webpack.hosteurope.de running ExIM with esmtpsa
(TLS1.0:RSA_AES_128_CBC_SHA1:16)
id 1WTCpz-0005Kw-Gd; Thu, 27 Mar 2014 17:07:27 +0100
Content-Type: multipart/signed;
boundary="Apple-Mail=_51B674C8-04AE-497D-8193-788CE23FDC90";
protocol="application/pgp-signature"; micalg=pgp-sha1
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Tamas Blummer <tamas@bitsofproof.com>
In-Reply-To: <CAJfRnm7V6fgcj=TMfa2ZTYWOKtE5aoUT1xnVtKUSyriB=6cagQ@mail.gmail.com>
Date: Thu, 27 Mar 2014 17:07:26 +0100
Message-Id: <CD13EDB5-D21A-49ED-8E93-3DAA5686C020@bitsofproof.com>
References: <CANEZrP2hbBVGqytmXR1rAcVama4ONnR586Se-Ch=dsxOzy2O4w@mail.gmail.com>
<F2C8C044-EF92-4CCE-9235-28CA7FCE3526@bitsofproof.com>
<CAJHLa0PPAsBLgsy0vgPpUp=UzeR_fWUEzFb5+xtmODEk4MGPVQ@mail.gmail.com>
<CAJfRnm7V6fgcj=TMfa2ZTYWOKtE5aoUT1xnVtKUSyriB=6cagQ@mail.gmail.com>
To: Allen Piscitello <allen.piscitello@gmail.com>
X-Mailer: Apple Mail (2.1510)
X-bounce-key: webpack.hosteurope.de; tamas@bitsofproof.com; 1395936454;
2a1b794f;
X-Spam-Score: 1.0 (+)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
1.0 HTML_MESSAGE BODY: HTML included in message
X-Headers-End: 1WTCq6-0004Df-3p
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] New BIP32 structure
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Thu, 27 Mar 2014 16:07:36 -0000
--Apple-Mail=_51B674C8-04AE-497D-8193-788CE23FDC90
Content-Type: multipart/alternative;
boundary="Apple-Mail=_E570546D-0D99-4A79-8667-DFD8F464823E"
--Apple-Mail=_E570546D-0D99-4A79-8667-DFD8F464823E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1
I think not all alts (will) have magic numbers, at least not those =
defined e.g. with colored coins on top of an other chain.
Also note that the index should have MSB cleared as it would otherwise =
indicate private derivation.=20
Regards,
Tamas Blummer
http://bitsofproof.com
On 27.03.2014, at 16:57, Allen Piscitello <allen.piscitello@gmail.com> =
wrote:
> Don't most of these coins have a magic number already assigned that is =
unique? (0xD9B4BEF9 for Bitcoin, 0x0709110B for Testnet, FBC0XB6DB for =
Litecoin, etc...). This seems like a good candidate for identifying =
coins, and also supports Testnet cases well. Maybe there are some alts =
without such a magic number that might prevent that?
>=20
> -Allen
>=20
>=20
> On Thu, Mar 27, 2014 at 10:43 AM, Jeff Garzik <jgarzik@bitpay.com> =
wrote:
> On Thu, Mar 27, 2014 at 3:09 AM, Tamas Blummer <tamas@bitsofproof.com> =
wrote:
> > A notable suggestion was to instead of building a directory of magic =
numbers
> > (like 0 for Bitcoin, 1 for Litecoin etc) use a hash of the word =
"Bitcoin",
> > "Litecoin", "Dogecoin", so collosion is unlikely and
> > cetral directory is not needed.
>=20
> +1 good idea
>=20
> --
> Jeff Garzik
> Bitcoin core developer and open source evangelist
> BitPay, Inc. https://bitpay.com/
>=20
> =
--------------------------------------------------------------------------=
----
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>=20
--Apple-Mail=_E570546D-0D99-4A79-8667-DFD8F464823E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><div>I think not all alts (will) have magic numbers, at least not =
those defined e.g. with colored coins on top of an other =
chain.</div><div><br></div><div>Also note that the index should have MSB =
cleared as it would otherwise indicate private =
derivation. </div><div><br></div><div><div><div =
apple-content-edited=3D"true"><span style=3D"color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
display: inline !important; float: none; ">Regards,</span><br =
style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; "><br style=3D"color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
"><span style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
medium; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; display: inline !important; float: none; =
">Tamas Blummer</span><br style=3D"color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: medium; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span =
style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: 2; text-align: =
-webkit-auto; text-indent: 0px; text-transform: none; white-space: =
normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; display: inline !important; float: none; =
"><a href=3D"http://bitsofproof.com">http://bitsofproof.com</a></span>
</div>
<br><div><div>On 27.03.2014, at 16:57, Allen Piscitello <<a =
href=3D"mailto:allen.piscitello@gmail.com">allen.piscitello@gmail.com</a>&=
gt; wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr"><span =
style=3D"background-color:rgb(255,255,255)">Don't most of these coins =
have a magic number already assigned that is unique? (<span =
style=3D"font-family: sans-serif; font-size: 13px; line-height: =
19.200000762939453px; ">0xD9B4BEF9</span><span style=3D"font-family: =
sans-serif; font-size: 13px; line-height: 19.200000762939453px; =
"> for Bitcoin, </span><span style=3D"font-family: sans-serif; =
font-size: 13px; line-height: 19.200000762939453px; ">0x0709110B for =
Testnet, </span><span style=3D"font-family: sans-serif; font-size: =
13px; line-height: 19.200000762939453px; ">FBC0XB6DB for Litecoin, =
etc...). This seems like a good candidate for identifying coins, =
and also supports Testnet cases well. Maybe there are some alts =
without such a magic number that might prevent that?</span></span><div>
<span style=3D"font-family: sans-serif; font-size: 13px; line-height: =
19.200000762939453px; background-color: rgb(255, 255, 255); =
"><br></span></div><div><span style=3D"font-family: sans-serif; =
font-size: 13px; line-height: 19.200000762939453px; background-color: =
rgb(255, 255, 255); ">-Allen</span></div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On =
Thu, Mar 27, 2014 at 10:43 AM, Jeff Garzik <span dir=3D"ltr"><<a =
href=3D"mailto:jgarzik@bitpay.com" =
target=3D"_blank">jgarzik@bitpay.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"">On =
Thu, Mar 27, 2014 at 3:09 AM, Tamas Blummer <<a =
href=3D"mailto:tamas@bitsofproof.com">tamas@bitsofproof.com</a>> =
wrote:<br>
</div><div class=3D"">> A notable suggestion was to instead of =
building a directory of magic numbers<br>
> (like 0 for Bitcoin, 1 for Litecoin etc) use a hash of the word =
"Bitcoin",<br>
> "Litecoin", "Dogecoin", so collosion is unlikely and<br>
> cetral directory is not needed.<br>
<br>
</div>+1 good idea<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Jeff Garzik<br>
Bitcoin core developer and open source evangelist<br>
BitPay, Inc. <a href=3D"https://bitpay.com/" =
target=3D"_blank">https://bitpay.com/</a><br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
=
--------------------------------------------------------------------------=
----<br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a =
href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-developm=
ent@lists.sourceforge.net</a><br>
<a =
href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development" =
target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-dev=
elopment</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></body></html>=
--Apple-Mail=_E570546D-0D99-4A79-8667-DFD8F464823E--
--Apple-Mail=_51B674C8-04AE-497D-8193-788CE23FDC90
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJTNEy+AAoJEPZykcUXcTkcJxEIAMJxgECmq0iijYiyPCDGejkh
/Zplm161I15/7oTQAwG+aB+QVBEhZADWE2QBcNVQTVUPNI++y+S3s3N+F3tBsiFJ
qm7XC05JSIHbRlz1Z8qgAUc+14Jszo/Ry/kKRepX1pc5PZ/HKoPLysHfiRm5eEhd
Tgm4hfmFZVO8TUmafDnLvJAmqF9HVllU/Rrs/H7Gk32pKSowx4eBCd3SPs4Lr9G1
hmQvTO9qebXMFu0Ly+h0NTxD8JD579s75mPxB22yMtlAtIK9aRAcxLEdiD4RKcGM
A1Kd0pODA2O8Z4zDU1AX+P2U8tjcYVl8MWZVHwRHF9CoQ3ItcbCJjoHRb0dJaUY=
=5KRU
-----END PGP SIGNATURE-----
--Apple-Mail=_51B674C8-04AE-497D-8193-788CE23FDC90--
|