summaryrefslogtreecommitdiff
path: root/2d/363a604ff52b463f27ba1093ca1ba943c5a236
blob: f6aa38e9a156047e864b8b4a40da5af0261103fa (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
Return-Path: <dev@jonasschnelli.ch>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id B63E8D37
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 18:42:37 +0000 (UTC)
X-Greylist: delayed 00:06:08 by SQLgrey-1.7.6
Received: from bitcoin.jonasschnelli.ch (bitcoinsrv.jonasschnelli.ch
	[138.201.55.219])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id 6D54A604
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 28 Aug 2018 18:42:36 +0000 (UTC)
Received: by bitcoin.jonasschnelli.ch (Postfix, from userid 1002)
	id 0E4D615E1600; Tue, 28 Aug 2018 20:36:27 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.1
Received: from [192.168.0.9] (cable-static-239-93.teleport.ch [213.188.239.93])
	by bitcoin.jonasschnelli.ch (Postfix) with ESMTPSA id 55C5115E1243;
	Tue, 28 Aug 2018 20:36:25 +0200 (CEST)
From: Jonas Schnelli <dev@jonasschnelli.ch>
Content-Type: multipart/signed;
	boundary="Apple-Mail=_771BF434-35BF-4A6A-92C6-42A209E8E6F0";
	protocol="application/pgp-signature"; micalg=pgp-sha256
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Tue, 28 Aug 2018 20:36:21 +0200
References: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
To: Blockchain Group <shekharhiran@gmail.com>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
In-Reply-To: <CA+9w0-77oP3rmW37R6ty4fF_LhaOtQaL52yQUKynXEmZhQ9MeA@mail.gmail.com>
Message-Id: <8AE1517F-88FB-479D-AE89-993A5545D210@jonasschnelli.ch>
X-Mailer: Apple Mail (2.3445.9.1)
X-Virus-Scanned: clamav-milter 0.100.1 at bitcoinsrv.jonasschnelli.ch
X-Virus-Status: Clean
X-Mailman-Approved-At: Wed, 29 Aug 2018 11:08:09 +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 18:42:37 -0000


--Apple-Mail=_771BF434-35BF-4A6A-92C6-42A209E8E6F0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi

To give a critical viewpoint on a such API:

Such APIs usually result in central validation, meaning that users trust =
API services rather the validating their own data. It break some of the =
fundamental properties of Bitcoin (avoid trusted third parties).
Systems or applications depending on a full indexed blockchain (a thus =
such API) do usually scale pretty bad.

I=E2=80=99d like to hear some concrete use-cases for a such block =
explorer(ish) API.

Thanks
=E2=80=94
Jonas

> Am 26.08.2018 um 21:58 schrieb Blockchain Group via bitcoin-dev =
<bitcoin-dev@lists.linuxfoundation.org>:
>=20
> Hello everyone,
>=20
> 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.
>=20
> 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.
>=20
> 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.
>=20
> Thanks
> Sumit Lahiri.
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev


--Apple-Mail=_771BF434-35BF-4A6A-92C6-42A209E8E6F0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyhopCNzi8TB0xizeHrd2uwPHki0FAluFliUACgkQHrd2uwPH
ki2dHA//WfAismcss+x3QBwCAuFC3KYikfYY0tbXlz8O5eAeRsD3Cvml/hRmLxVu
Us7pbn2JesVkfRDZ2UXTaF52CAnj0V48B7A7k0aQXDOy618ywIFBu9Ok07zN55Hr
d1WTgMXOo3z+CeTMT73IDNJ6uvefkGnS7sgy1dS8uNt1snhwrneTdrZto0/ywE1w
NtDDmJou9n0FU+qlh3HQLF3pwOkHSOa5PNF6XNPkD3gyjTdB/tvJvxDqQr/l4wZP
ZEsSEkql8FGH0gOVbfQ/SxkymkK0LbTxj/O+QnFsrYFg8QhVEm1irRtQ09j5iXj5
JNIr0tYviN7jMJY4SACFrQrjgEtAHJGCPqlm90EWaZLEiA8EwLIx2Ul1MQLZFkGT
ue/PB4Ml3FuSir7lA9R6ZPz1yY5wwI71xb5/z50mgGwPeF6YdgZNUeG/yDWMFaJA
Nx0Afp48cRXaXzRmEzbbLxurssKQYwqVTcdbPclVHJfZUkIag4ZQ7rZ9/uqZe1k2
NdjmSpeIM5u2t6du51M5vAUxEzdn0r8KCoNH+YKSOccbluGXAqTQQb8wvEa2chSZ
Cyq4QX5Wj5a0hIHOsvUk57hK85+leMl9viY8K6XY4e4Eik9s37cAwSqPtdapN74t
dsNdp/+oFUs+Mw+fxOHv+rZ4mkUaU4GZtp73V8+oyB7m9slgnbU=
=d8sX
-----END PGP SIGNATURE-----

--Apple-Mail=_771BF434-35BF-4A6A-92C6-42A209E8E6F0--