summaryrefslogtreecommitdiff
path: root/5e/c8bc97bc451b84ee9c410c2ea2f1c9bcf3a1b7
blob: 62d9193b3d083db50d9e9824281b55b626f8f1f8 (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
Return-Path: <fireduck@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 92396D1F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 15:15:21 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ua1-f68.google.com (mail-ua1-f68.google.com
	[209.85.222.68])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0FAF3811
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 15:15:20 +0000 (UTC)
Received: by mail-ua1-f68.google.com with SMTP id 101-v6so1216623uav.7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 08:15:20 -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; 
	bh=r0cDJ8smcszDX+E8IesHoCt34DrKPw/sA08KrT2zQk4=;
	b=ol7OwCNdkSCTJw7Nn3Z4ZwKfNYjJYMvUsR1acnTVDx7bGDpcaW0yRgp7yLHfYaEp2K
	Iwx8mLYcb4xcUKJNblwbre+JFoInLJWNHJUr6broJblVOcsAOrsvzpBlBivXH+DE8n84
	eIYuOpuTaOwGPQ21qZe/K63IYcHCrX3ojeGuXtV0olpqiNzik9XVSPOkKip4ZWTAy4g5
	+nmiitSGHqowIIENmr1yV58wrU5Ug5lTV/0T/2eNzx+htN7CQt7792hiXWhkG5/sPfXN
	tf2bgIMGvIJ0NkVLD5GEFf0txwEMoBU6oobQrndNHORJxgTjrEa7lw2z1ECg87pUpel9
	S4DA==
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;
	bh=r0cDJ8smcszDX+E8IesHoCt34DrKPw/sA08KrT2zQk4=;
	b=CULZ+QDMt6KfKt7+3Za2tbiryOTdAyH+Cb+y8rBicTByJLbdzI7G5PnbNk9qQEH6nQ
	ongQw4NUiL1n88+zzTa9sNW5p9/ex06oGKdoVyiEEjt4W3+camWNMcTZxbdc+P65I2rc
	SHFPNg6dMYQFx4Kt/J7XpNT4IUo7EartVv4uhmTkz/2v8B5Vmu+8JYtPta46CYbhmrh8
	2Wa7K+g3nBNs9qjjIPFYJcgaei9kI6MSVz3q4muFOol4AgdOaE/Y7AFoiXFL5qnBMc7i
	XeP2JPuF9DGA0xZtFOpEVKvyCRqegINjhkY5rleNuqdAtH7jtlvm5pqM8C5VaFIwv4bD
	fKcw==
X-Gm-Message-State: APzg51BooVJB6GZNEkJ/K7tBl4+AOY4hQ2ZOUNiFuL8lerGj/WqM4ZKy
	tqevK7ULR/qNt36OUZys38KFTZSbov+SAxniOr4DVQ==
X-Google-Smtp-Source: ANB0VdaWjbtDkgVXTZ2iQHPAlhz/XzABin6/bvTcno7Y3VgCxckKID5/BK0w+8lS+ZPJfXPEvEHx+KRkp+pUPfpVhlg=
X-Received: by 2002:ab0:5c9:: with SMTP id e67-v6mr1334237uae.66.1535469319799;
	Tue, 28 Aug 2018 08:15:19 -0700 (PDT)
MIME-Version: 1.0
References: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
In-Reply-To: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
From: =?UTF-8?B?Sm9zZXBoIEdsZWFzb24g4pGI?= <fireduck@gmail.com>
Date: Tue, 28 Aug 2018 08:15:06 -0700
Message-ID: <CA+ASnrGo8HovRSEDSmFaUcC2mV7Cwjy8eXvaBzCFnuiAHVT5zA@mail.gmail.com>
To: Blockchain Group <shekharhiran@gmail.com>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="0000000000005ec8600574804f9d"
X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, FROM_EXCESS_BASE64,
	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:42:36 +0000
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:15:21 -0000

--0000000000005ec8600574804f9d
Content-Type: text/plain; charset="UTF-8"

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-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 the
> 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 proposing a
> unified method of finding/quering the blockchain data with a standardized
> 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
>

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

<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">https://github.com/kyuup=
ichan/electrumx/blob/master/docs/protocol-methods.rst</a><br></div><div><br=
></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, Aug 28=
, 2018 at 5:36 AM Blockchain Group via bitcoin-dev &lt;<a href=3D"mailto:bi=
tcoin-dev@lists.linuxfoundation.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:1px #ccc solid;padding-left:1ex"><div dir=3D"auto">He=
llo everyone,<div dir=3D"auto"><br></div><div dir=3D"auto">I am C++ &amp; N=
ode.js developer. I want to propose making a new Bitcoin API that supports =
fast quering of Bitcoin blocks and transactions without the need for syncin=
g 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">=
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>

--0000000000005ec8600574804f9d--