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
|
Return-Path: <eordano@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 16FA310D0
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 1 Sep 2015 21:26:20 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com
[209.85.160.180])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 66A81196
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 1 Sep 2015 21:26:19 +0000 (UTC)
Received: by ykdg206 with SMTP id g206so4068465ykd.1
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 01 Sep 2015 14:26:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:cc:content-type;
bh=UU+OFlHe2e1+exHne5nwFSN3/+s0WXYWFwcZJJAm/70=;
b=HO8prrmMJcvGSJvCGOYTymBbaSOaIZRGxaglvUi/9Qug/KUEbkHcMJTJNplruiEPZQ
TF1++/CdR+omUbw0n/7M7iS04rORCxBIKuL5JmSrm+5PLMqVyYF/m2T5dMpxhJKT2vMM
YvQepBNvTWvBIfaH/A+Te9dfV3rhvhQjSew4Yq4d2ZTHGKIAOh+DOsJE3lB87u/kZdxH
HmR82Fz05yDEzSp2JAhTcqL9jn1IjzRMAA4KvTDpjmmVtgslZkFpvQ9HoObAwDaddXPs
3ywRfkct5pN2FwRBZSuPLIjcJ7AhPmHiW5DP8XEhJZvpS9r5W3F1kxtzCygl5Ss2qXnw
mJGQ==
X-Received: by 10.170.165.197 with SMTP id h188mr611458ykd.45.1441142778578;
Tue, 01 Sep 2015 14:26:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.255.196 with HTTP; Tue, 1 Sep 2015 14:25:59 -0700 (PDT)
In-Reply-To: <5546682.RnG4VcateO@crushinator>
References: <CAE0pACLMcMzHkA=vEx+fiEmq7FA1bXDc4t_hQ+955=r=62V5=g@mail.gmail.com>
<CABm2gDpC55dsr4GNAUabgnOeXcNTrgHSAtM7Jqfp0_QUfjXmoQ@mail.gmail.com>
<CAE0pAC+32rhWdBL+WbPANy0rd+eh-XsPQy-u3OHUxS0ku7eN-Q@mail.gmail.com>
<5546682.RnG4VcateO@crushinator>
From: Esteban Ordano <eordano@gmail.com>
Date: Tue, 1 Sep 2015 18:25:59 -0300
Message-ID: <CALp1fU=yF0EJHq1heLx5jSFCQfzL3YsH+gZgWmcWjjOTE6K_-w@mail.gmail.com>
To: Matt Whitlock <bip@mattwhitlock.name>
Content-Type: multipart/alternative; boundary=001a113a2fe0634ef4051eb63303
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW
autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] RFC - BIP: URI scheme for Blockchain exploration
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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: Tue, 01 Sep 2015 21:26:20 -0000
--001a113a2fe0634ef4051eb63303
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Slightly relevant: standardization of http queries to blockchain explorers.
It's not just about URLs, it's about the query body and response.
https://github.com/common-blockchain
On Tue, Sep 1, 2015 at 6:16 PM, Matt Whitlock via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:
> Isn't this all backward? The "authority" component of the URL should
> identify the chain, and the "path" component should identify the particul=
ar
> block, tx, or address in that chain.
>
> So instead of:
>
>
> blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918=
f76c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8=
ce26f
>
> It should be:
>
>
> blockchain://000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8c=
e26f/tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f76c17f
>
> And I would agree with allowing well-known chains to register a name, to
> be used as an alternative to the literal, hash syntax:
>
>
> blockchain://bitcoin/tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f2=
4ecd3918f76c17f
>
>
> On Tuesday, 1 September 2015, at 4:49 pm, Marco Pontello wrote:
> > On Sat, Aug 29, 2015 at 10:10 PM, Jorge Tim=C3=B3n <
> > bitcoin-dev@lists.linuxfoundation.org> wrote:
> >
> > >
> > > I would really prefer chain=3D<chainID> over network=3D<chainPetnameS=
tr>
> > > By chainID I mean the hash of the genesis block, see
> > >
> > >
> https://github.com/jtimon/bitcoin/commit/3191d5e8e75687a27cf466b7a4c70bdc=
04809d39
> > > I'm completely fine with doing that using an optional parameter (for
> > > backwards compatibility).
> > >
> >
> > I see that using the genesis block hash would be the perfectly rigorous
> way
> > to do it, but what do you think about the possibility of letting also u=
se
> > the name constants, as a simple / more relaxed alternative? That would
> > spare a source lookup just to write a correct reference to a tx, maybe
> in a
> > forum or a post.
> >
> > So a reference to a certain tx could be either:
> >
> >
> blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918=
f76c17f
> >
> >
> blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918=
f76c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8=
ce26f
> >
> >
> blockchain://ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f76=
c17f?chain=3Dmain
> >
> > (or a different element name maybe)
> >
> > --
> > Try the Online TrID File Identifier
> > http://mark0.net/onlinetrid.aspx
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
--001a113a2fe0634ef4051eb63303
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Slightly relevant: standardization of http queries to bloc=
kchain explorers. It's not just about URLs, it's about the query bo=
dy and response. <a href=3D"https://github.com/common-blockchain">https://g=
ithub.com/common-blockchain</a></div><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">On Tue, Sep 1, 2015 at 6:16 PM, Matt Whitlock via bitco=
in-dev <span dir=3D"ltr"><<a href=3D"mailto:bitcoin-dev@lists.linuxfound=
ation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>><=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">Isn't this all backward=
? The "authority" component of the URL should identify the chain,=
and the "path" component should identify the particular block, t=
x, or address in that chain.<br>
<br>
So instead of:<br>
<br>
blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f7=
6c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce=
26f<br>
<br>
It should be:<br>
<br>
blockchain://000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce2=
6f/tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f76c17f<br>
<br>
And I would agree with allowing well-known chains to register a name, to be=
used as an alternative to the literal, hash syntax:<br>
<br>
blockchain://bitcoin/tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24e=
cd3918f76c17f<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Tuesday, 1 September 2015, at 4:49 pm, Marco Pontello wrote:<br>
> On Sat, Aug 29, 2015 at 10:10 PM, Jorge Tim=C3=B3n <<br>
> <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@l=
ists.linuxfoundation.org</a>> wrote:<br>
><br>
> ><br>
> > I would really prefer chain=3D<chainID> over network=3D<=
chainPetnameStr><br>
> > By chainID I mean the hash of the genesis block, see<br>
> ><br>
> > <a href=3D"https://github.com/jtimon/bitcoin/commit/3191d5e8e7568=
7a27cf466b7a4c70bdc04809d39" rel=3D"noreferrer" target=3D"_blank">https://g=
ithub.com/jtimon/bitcoin/commit/3191d5e8e75687a27cf466b7a4c70bdc04809d39</a=
><br>
> > I'm completely fine with doing that using an optional paramet=
er (for<br>
> > backwards compatibility).<br>
> ><br>
><br>
> I see that using the genesis block hash would be the perfectly rigorou=
s way<br>
> to do it, but what do you think about the possibility of letting also =
use<br>
> the name constants, as a simple / more relaxed alternative? That would=
<br>
> spare a source lookup just to write a correct reference to a tx, maybe=
in a<br>
> forum or a post.<br>
><br>
> So a reference to a certain tx could be either:<br>
><br>
> blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3=
918f76c17f<br>
><br>
> blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3=
918f76c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b6=
0a8ce26f<br>
><br>
> blockchain://ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918=
f76c17f?chain=3Dmain<br>
><br>
> (or a different element name maybe)<br>
><br>
> --<br>
> Try the Online TrID File Identifier<br>
> <a href=3D"http://mark0.net/onlinetrid.aspx" rel=3D"noreferrer" target=
=3D"_blank">http://mark0.net/onlinetrid.aspx</a><br>
</div></div><div class=3D"HOEnZb"><div class=3D"h5">_______________________=
________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</div></div></blockquote></div><br></div>
--001a113a2fe0634ef4051eb63303--
|