From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B63E8D37 for ; 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 ; 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 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: To: Blockchain Group , Bitcoin Protocol Discussion In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 = : >=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--