summaryrefslogtreecommitdiff
path: root/83/d8ee284447ef9708e70dff4c5bb05882c7751c
blob: d7fa02239c624007e1d3ce768531829ce4e4de77 (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
Return-Path: <marcopon@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 8436413F7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  1 Sep 2015 14:50:10 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com
	[209.85.217.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id B38D0234
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  1 Sep 2015 14:50:09 +0000 (UTC)
Received: by lbpo4 with SMTP id o4so1090658lbp.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 01 Sep 2015 07:50:07 -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=F9/aBg+Szfw6pm24+L6U6ta8il7BfGIOGIB7NMLIA64=;
	b=yvgsaQmPO1UUcKWNpWbuiz/kJ2nnlcKySKILL1JWTOp3dq7y3UPVeZQpF0ZZkyfmKm
	Up/tmYyf8DoK4TGGqZA0KVGQ1yGtk5HElkigwr4WZTdZuPrZdUJvgsKTO03eXn9bA+gO
	I3XRZvTsZgausbnSEDkTMsERbTJ5R7XwTy/te6qcmzYthC8vARr7xnamvaWu+jrFwEvN
	pqbqktwqf2t+e+TVML5VdX2/6cGuGqBPEsOtLQBIuypfXljFQXk7KFOH7fZfNIv7VN8g
	pMR2M52nZulYSESCabeoAETT0YkkCEe1F5sfjuAVG0efuVPNyLNWbRdYsl7dqQQFxcAc
	Vqeg==
X-Received: by 10.112.129.72 with SMTP id nu8mr8851529lbb.81.1441119006975;
	Tue, 01 Sep 2015 07:50:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.114.186.168 with HTTP; Tue, 1 Sep 2015 07:49:47 -0700 (PDT)
In-Reply-To: <CABm2gDpC55dsr4GNAUabgnOeXcNTrgHSAtM7Jqfp0_QUfjXmoQ@mail.gmail.com>
References: <CAE0pACLMcMzHkA=vEx+fiEmq7FA1bXDc4t_hQ+955=r=62V5=g@mail.gmail.com>
	<CF21152C-15FA-421C-B369-A9A7DB59865F@ricmoo.com>
	<CADJgMztaJHDrz0+7KLouwZMCz--Za6-2pitmjjYVHG+nJjrG=Q@mail.gmail.com>
	<2509151.XgrrNGsCxR@crushinator>
	<CABm2gDpC55dsr4GNAUabgnOeXcNTrgHSAtM7Jqfp0_QUfjXmoQ@mail.gmail.com>
From: Marco Pontello <marcopon@gmail.com>
Date: Tue, 1 Sep 2015 16:49:47 +0200
Message-ID: <CAE0pAC+32rhWdBL+WbPANy0rd+eh-XsPQy-u3OHUxS0ku7eN-Q@mail.gmail.com>
To: =?UTF-8?B?Sm9yZ2UgVGltw7Nu?= <jtimon@jtimon.cc>
Content-Type: multipart/alternative; boundary=047d7b3a8c607d7053051eb0aace
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 14:50:10 -0000

--047d7b3a8c607d7053051eb0aace
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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<chainPetnameStr>
> 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 use
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/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f7=
6c17f

blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f7=
6c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce=
26f

blockchain://ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918f76c1=
7f?chain=3Dmain

(or a different element name maybe)

--=20
Try the Online TrID File Identifier
http://mark0.net/onlinetrid.aspx

--047d7b3a8c607d7053051eb0aace
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Sat, Aug 29, 2015 at 10:10 PM, Jorge Tim=C3=B3n <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bi=
tcoin-dev@lists.linuxfoundation.org</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px=
;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1e=
x"><span class=3D""><br>
</span>I would really prefer chain=3D&lt;chainID&gt; over network=3D&lt;cha=
inPetnameStr&gt;<br>
By chainID I mean the hash of the genesis block, see<br>
<a href=3D"https://github.com/jtimon/bitcoin/commit/3191d5e8e75687a27cf466b=
7a4c70bdc04809d39" rel=3D"noreferrer" target=3D"_blank">https://github.com/=
jtimon/bitcoin/commit/3191d5e8e75687a27cf466b7a4c70bdc04809d39</a><br>
I&#39;m completely fine with doing that using an optional parameter (for<br=
>
backwards compatibility).<br></blockquote></div><div><br></div><div>I see t=
hat 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 use the nam=
e constants, as a simple / more relaxed alternative? That would spare a sou=
rce lookup just to write a correct reference to a tx, maybe in a forum or a=
 post.</div><div><br></div><div>So a reference to a certain tx could be eit=
her:=C2=A0</div><div><br></div>blockchain://tx/ca26cedeb9cbc94e030891578e0d=
2b688a28902114f6ad2f24ecd3918f76c17f<br><br></div><div class=3D"gmail_extra=
">blockchain://tx/ca26cedeb9cbc94e030891578e0d2b688a28902114f6ad2f24ecd3918=
f76c17f?chain=3D000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8=
ce26f<br><br></div><div class=3D"gmail_extra">blockchain://ca26cedeb9cbc94e=
030891578e0d2b688a28902114f6ad2f24ecd3918f76c17f?chain=3Dmain<div><br></div=
><div>(or a different element name maybe)</div><div><br></div>-- <br><div c=
lass=3D"gmail_signature">Try the Online TrID File Identifier<br><a href=3D"=
http://mark0.net/onlinetrid.aspx" target=3D"_blank">http://mark0.net/online=
trid.aspx</a></div>
</div></div>

--047d7b3a8c607d7053051eb0aace--