summaryrefslogtreecommitdiff
path: root/a3/4a8fb883a3ffa9c689a884e40d63bf28dc2c96
blob: d709505e8a824bc510b01b4b52303b4692b1291d (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
Return-Path: <ematiu@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 2E2A1D75
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 15:47:25 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-vk0-f65.google.com (mail-vk0-f65.google.com
	[209.85.213.65])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id E57DB7CA
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 15:47:23 +0000 (UTC)
Received: by mail-vk0-f65.google.com with SMTP id q184-v6so1017385vke.7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 08:47:23 -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=D6XvtTRWyaze0Cdfq0psNpeLRBAHK21byWibK9S50D0=;
	b=gdq3gYkk7M7/e4lLzD0gyuIuibfDHnzDePg6vCtLuOjVXuSNC2k6xJs3jZkfLxIZKj
	EdpAdhMwcdatqLtZd0X4Auwk6TTWwH3OWkkuMG6q67nM9m9XJA65HS1vBJ9TNnfJsKwU
	FD7LJiQ3wwTupHO1QlA5N0RvNgGAowTiiea6kQJixYvw6W0l57aVygPtLdH5a9mpzd+b
	1ZfANvnrkbTxMt7L9CpSJVq6DoY9DDKD0pHr1vnUHB/oijc7eInYGtlS+xKS3036D2nS
	NVDWw37m2a18QgxWlMGaHhCntu0NaQulxH0QMsJrBjOMrRaAASDXI6pnt6VUV1FxQ7ou
	c0kQ==
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=D6XvtTRWyaze0Cdfq0psNpeLRBAHK21byWibK9S50D0=;
	b=eLqToRb9g1DP96vc94Ws0Da1YSvgma7HH7xzkz/BNcz9E8a1v2s+AP6iPcxc5ql29P
	+2s4EQrR2NlZzEbrCNXvqEXPP1hncdw4c3sEKgA4UNVXcGijkan7A5tXnSXy8jcgjEEk
	CDX9EgjFHSiujb9IS50/25OvODi46uw+MfoCQl3DVm12GcZYTIA8/T6kKvynfk86bQM0
	KtaHssvA94Nzk1h4RRkiIxcxqDgV8Xo7Ny4zIUE1/ywOnofcQKvBlRUTHFYZK14cLYZZ
	rArg4Ztyb1o8Sh2GKqXka1yaCTgIALcuLSrEt4prAiWcKRGRb6/YFtdWyY+qZW4b2ehO
	I/wQ==
X-Gm-Message-State: APzg51AAH6sbzCJkyalHKTZEcre+BfsB0VGIbX6XvmQukB4147heCTgA
	BX08AqN1OSJ9Fe/iuNfAshA/S32DXqxG/+dN
X-Google-Smtp-Source: ANB0VdYbw0CULMlqq4kReCtEoX0byrXeGX1yCgKL3e25ytlQ39+BTGZk3PZbn0U1TwEzadqPsxfbNXL+Go9urw/sLWE=
X-Received: by 2002:a1f:d786:: with SMTP id
	o128-v6mr1306593vkg.29.1535471242817; 
	Tue, 28 Aug 2018 08:47:22 -0700 (PDT)
MIME-Version: 1.0
References: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
	<CA+ASnrGo8HovRSEDSmFaUcC2mV7Cwjy8eXvaBzCFnuiAHVT5zA@mail.gmail.com>
In-Reply-To: <CA+ASnrGo8HovRSEDSmFaUcC2mV7Cwjy8eXvaBzCFnuiAHVT5zA@mail.gmail.com>
From: Matias Alejo Garcia <ematiu@gmail.com>
Date: Tue, 28 Aug 2018 12:47:10 -0300
Message-ID: <CA+vKqYeW9oi5bk8ZtZEvSJnoVzYdZ2+YXoLCSoe=PPCBhzMuvg@mail.gmail.com>
To: fireduck@gmail.com, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="000000000000fdb5a0057480c1f3"
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 15:50:24 +0000
Cc: shekharhiran@gmail.com
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 15:47:25 -0000

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

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 t=
he
> 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-rpc=
.
>
>
> https://github.com/kyuupichan/electrumx/blob/master/docs/protocol-methods=
.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 API
>> that supports fast quering of Bitcoin blocks and transactions without th=
e
>> 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 a=
nd
>> then query for the information I need to show separately. I am proposing=
 a
>> unified method of finding/quering the blockchain data with a standardize=
d
>> 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
>


--=20
Mat=C3=ADas Alejo Garcia
@ematiu
Roads? Where we're going, we don't need roads!

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

<div dir=3D"ltr">Hi Sumit,<div><br></div><div>Take a look at=C2=A0<a href=
=3D"https://github.com/bitpay/bitcore/tree/v8.0.0">https://github.com/bitpa=
y/bitcore/tree/v8.0.0</a>, it is a bitcoin indexing API server, with severa=
l modules, like a block explorer, a wallet module, etc. It is built using N=
ode.js.</div><div><br></div><div>mat=C3=ADas</div></div><br><div class=3D"g=
mail_quote"><div dir=3D"ltr">On Tue, Aug 28, 2018 at 12:43 PM Joseph Gleaso=
n =E2=91=88 via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div dir=3D"ltr">For what it is worth, elec=
trum has a lot or possibly all of what you are talking about since the elec=
trum servers are designed to quickly answer the queries of light clients.=
=C2=A0 So right now, you could sync up an electrum server or use an existin=
g public one and send queries to it with json-rpc.<div><br></div><div><a hr=
ef=3D"https://github.com/kyuupichan/electrumx/blob/master/docs/protocol-met=
hods.rst" target=3D"_blank">https://github.com/kyuupichan/electrumx/blob/ma=
ster/docs/protocol-methods.rst</a><br></div><div><br></div></div><br><div c=
lass=3D"gmail_quote"><div dir=3D"ltr">On Tue, Aug 28, 2018 at 5:36 AM Block=
chain Group via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&g=
t; 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">Hello e=
veryone,<div dir=3D"auto"><br></div><div dir=3D"auto">I am C++ &amp; Node.j=
s developer. I want to propose making a new Bitcoin API that supports fast =
quering of Bitcoin blocks and transactions without the need for syncing wit=
h all previous nodes.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"au=
to">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 proposing a =
unified method of finding/quering the blockchain data with a standardized t=
emplate containing minimal information about the actual mined block or tran=
saction 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 somethin=
g similar.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Thanks=
=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">=
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>
</blockquote></div>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
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>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
 class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"l=
tr">Mat=C3=ADas Alejo Garcia<br>@ematiu<br>Roads? Where we&#39;re going, we=
 don&#39;t need roads!</div></div>

--000000000000fdb5a0057480c1f3--