summaryrefslogtreecommitdiff
path: root/f1/b8ec2c0c0affb18667d0fb7e9fd3311c599443
blob: 1fc830838d2dd1eedb7ada48d984ce2cfb7a46c0 (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
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
Return-Path: <shekharhiran@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id DFBACC50
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 17:34:19 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-io0-f194.google.com (mail-io0-f194.google.com
	[209.85.223.194])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4E21F7D7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 17:34:19 +0000 (UTC)
Received: by mail-io0-f194.google.com with SMTP id l7-v6so2154205iok.6
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 10:34:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:cc; bh=AIHJaWPYuh+oBm+YHgcpDZ/dA1kyWboQP9VC39Orzgk=;
	b=sZ1IlqPYKkeuCbkmJQTWYlXc+Niw+yirmdedXpWqrAZoJIY7RB9/kL43OjK2xx/HoN
	E6EAhg9OWkM+s74hhrglB6O70K4MQzaAEgtH95hgJDSHbvgzf+ntcqz7bklZEhI6VKZP
	Be4XcSOUCW8K9eM4IBScASJlUBYJEmI9TWs816s1Si5bfTHJZye6MZpuPYGw8ZHvwfFy
	qFk3xO1GuVWk+xK3JtsT/jNQbWvvk3cqnnbYHL7jLhN3V8IpVWagfhF6AQhM+FTx8hhl
	tqdQhHUL24ImBBx/n2BWUL8X0ZFZ/02J43pxyKPfEX9PMH+xqCzikCl9CdG5zP7GHSBV
	2fJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:cc;
	bh=AIHJaWPYuh+oBm+YHgcpDZ/dA1kyWboQP9VC39Orzgk=;
	b=twpZxJLnnCIGI9uA+Qwedy1zErpA7KEd2NiGYFthDxShgJSoV+qRMo41Y54YpRElwO
	j/3hX/6vUjcugc+xNyJrnr/QhozFAv/tWN7a5lfoHCMmPolY+dXai5Yc4g3Yu5DUsNxt
	S8HWgL8DzTKXCfmzEG/yjPwlKsPkyZcxhVy3wb7Bbqab6zX3H7XY5PSnNWV3zRhq8mWe
	pqmbRgzdEtThek8BDLQhrtuR6ZX0lQANmRlgwQcMm5Fjt27ZfMQtHs6LxlZsTrFy/gpY
	0ak9pHzRxik3JXQdmimW+mgPJ3EPDYQjxj1s72Vtu9uNV0Ympk6q3xN9jdZkhyWyL65t
	OGFA==
X-Gm-Message-State: APzg51AjJCA6L7xN61th5pFKhpr52kX8+Z8gnz9eFA2tAr20Lrt3YAoY
	zhYhWxometg3jSS9Om6f1NVK36QiEHJ2B/PyeZw=
X-Google-Smtp-Source: ANB0VdarPFPTcvyB5sz8QpSbKUPZt+MsOVYPOdaRgu70AI/p4XmhoyjVOpErvqbRpAhTxIemc2nt6P3952wAvce/W+A=
X-Received: by 2002:a6b:18c5:: with SMTP id
	188-v6mr2264772ioy.211.1535477658462; 
	Tue, 28 Aug 2018 10:34:18 -0700 (PDT)
MIME-Version: 1.0
References: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
	<CA+ASnrGo8HovRSEDSmFaUcC2mV7Cwjy8eXvaBzCFnuiAHVT5zA@mail.gmail.com>
	<CA+vKqYeW9oi5bk8ZtZEvSJnoVzYdZ2+YXoLCSoe=PPCBhzMuvg@mail.gmail.com>
In-Reply-To: <CA+vKqYeW9oi5bk8ZtZEvSJnoVzYdZ2+YXoLCSoe=PPCBhzMuvg@mail.gmail.com>
From: Blockchain Group <shekharhiran@gmail.com>
Date: Tue, 28 Aug 2018 23:04:04 +0530
Message-ID: <CA+9w0-4NHoWZ8zbB06OvhWL5Y51jP3P10Hz3K=G85NCPfKj2Cw@mail.gmail.com>
To: Matias Alejo Garcia <ematiu@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000064b04105748240bf"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Tue, 28 Aug 2018 17:40:36 +0000
Cc: bitcoin-dev@lists.linuxfoundation.org
Subject: Re: [bitcoin-dev] Building a Bitcoin API and query system.
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: Tue, 28 Aug 2018 17:34:20 -0000

--00000000000064b04105748240bf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks, I'll check it out.

On Tue, Aug 28, 2018, 9:17 PM Matias Alejo Garcia <ematiu@gmail.com> wrote:

> Hi Sumit,
>
> Take a look at https://github.com/bitpay/bitcore/tree/v8.0.0, it is a
> bitcoin indexing API server, with several modules, like a block explorer,=
 a
> wallet module, etc. It is built using Node.js.
>
> mat=C3=ADas
>
> On Tue, Aug 28, 2018 at 12:43 PM Joseph Gleason =E2=91=88 via bitcoin-dev=
 <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
>
>> For what it is worth, electrum has a lot or possibly all of what you are
>> talking about since the electrum servers are designed to quickly answer =
the
>> queries of light clients.  So right now, you could sync up an electrum
>> server or use an existing public one and send queries to it with json-rp=
c.
>>
>>
>> https://github.com/kyuupichan/electrumx/blob/master/docs/protocol-method=
s.rst
>>
>>
>> On Tue, Aug 28, 2018 at 5:36 AM Blockchain Group via bitcoin-dev <
>> bitcoin-dev@lists.linuxfoundation.org> wrote:
>>
>>> Hello everyone,
>>>
>>> I am C++ & Node.js developer. I want to propose making a new Bitcoin AP=
I
>>> that supports fast quering of Bitcoin blocks and transactions without t=
he
>>> need for syncing with all previous nodes.
>>>
>>> In a typical case where I want to build a full fleged Bitcoin explorer
>>> cum wallet system on my end with external APIs, I need to sync my node =
and
>>> then query for the information I need to show separately. I am proposin=
g a
>>> unified method of finding/quering the blockchain data with a standardiz=
ed
>>> template containing minimal information about the actual mined block or
>>> transaction yet satify the need of what I want to query.
>>>
>>> I am working on making a template and a support mechanism on Node.js. I
>>> want to propose it as an improvement (BIP). It will be a great help to
>>> future web developers who want to make something similar.
>>>
>>> Thanks
>>> Sumit Lahiri.
>>> _______________________________________________
>>> bitcoin-dev mailing list
>>> bitcoin-dev@lists.linuxfoundation.org
>>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>
>
> --
> Mat=C3=ADas Alejo Garcia
> @ematiu
> Roads? Where we're going, we don't need roads!
>

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

<div dir=3D"auto">Thanks, I&#39;ll check it out.=C2=A0</div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr">On Tue, Aug 28, 2018, 9:17 PM Matias Alej=
o Garcia &lt;<a href=3D"mailto:ematiu@gmail.com">ematiu@gmail.com</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Sumit,<di=
v><br></div><div>Take a look at=C2=A0<a href=3D"https://github.com/bitpay/b=
itcore/tree/v8.0.0" target=3D"_blank" rel=3D"noreferrer">https://github.com=
/bitpay/bitcore/tree/v8.0.0</a>, it is a bitcoin indexing API server, with =
several modules, like a block explorer, a wallet module, etc. It is built u=
sing Node.js.</div><div><br></div><div>mat=C3=ADas</div></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr">On Tue, Aug 28, 2018 at 12:43 PM Joseph =
Gleason =E2=91=88 via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.l=
inuxfoundation.org" target=3D"_blank" rel=3D"noreferrer">bitcoin-dev@lists.=
linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div dir=3D"ltr">For what it is worth, electrum has a lot or possibly all o=
f what you are talking about since the electrum servers are designed to qui=
ckly answer the queries of light clients.=C2=A0 So right now, you could syn=
c up an electrum server or use an existing public one and send queries to i=
t with json-rpc.<div><br></div><div><a href=3D"https://github.com/kyuupicha=
n/electrumx/blob/master/docs/protocol-methods.rst" target=3D"_blank" rel=3D=
"noreferrer">https://github.com/kyuupichan/electrumx/blob/master/docs/proto=
col-methods.rst</a><br></div><div><br></div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr">On Tue, Aug 28, 2018 at 5:36 AM Blockchain Group via=
 bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" t=
arget=3D"_blank" rel=3D"noreferrer">bitcoin-dev@lists.linuxfoundation.org</=
a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto">Hel=
lo everyone,<div dir=3D"auto"><br></div><div dir=3D"auto">I am C++ &amp; No=
de.js developer. I want to propose making a new Bitcoin API that supports f=
ast quering of Bitcoin blocks and transactions without the need for syncing=
 with all previous nodes.=C2=A0</div><div dir=3D"auto"><br></div><div dir=
=3D"auto">In a typical case where I want to build a full fleged Bitcoin exp=
lorer cum wallet system on my end with external APIs, I need to sync my nod=
e and then query for the information I need to show separately. I am propos=
ing a unified method of finding/quering the blockchain data with a standard=
ized template containing minimal information about the actual mined block o=
r transaction yet satify the need of what I want to query.=C2=A0</div><div =
dir=3D"auto"><br></div><div dir=3D"auto">I am working on making a template =
and a support mechanism on Node.js. I want to propose it as an improvement =
(BIP). It will be a great help to future web developers who want to make so=
mething similar.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">T=
hanks=C2=A0</div><div dir=3D"auto">Sumit Lahiri.=C2=A0</div></div>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank" =
rel=3D"noreferrer">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.linuxfoundati=
on.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank" =
rel=3D"noreferrer">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.linuxfoundati=
on.org/mailman/listinfo/bitcoin-dev</a><br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"m_5598967342637625863gmail_signature" data-smartmail=3D"gmail_sig=
nature"><div dir=3D"ltr">Mat=C3=ADas Alejo Garcia<br>@ematiu<br>Roads? Wher=
e we&#39;re going, we don&#39;t need roads!</div></div>
</blockquote></div>

--00000000000064b04105748240bf--