Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-30 Thread Blockchain Group via bitcoin-dev
Thanks, I'll check it out. On Thu, Aug 30, 2018, 3:33 PM Aymeric Vitte wrote: > > > Le 28/08/2018 à 20:36, Jonas Schnelli via bitcoin-dev a écrit : > > I’d like to hear some concrete use-cases for a such block explorer(ish) > API. > > https://github.com/Ayms/bitcoin-transactions which is somewhe

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-30 Thread Aymeric Vitte via bitcoin-dev
Le 28/08/2018 à 20:36, Jonas Schnelli via bitcoin-dev a écrit : > I’d like to hear some concrete use-cases for a such block explorer(ish) API. https://github.com/Ayms/bitcoin-transactions which is somewhere bitcoin-cli outside of bitcoin core with no wallet, which implies that you don't want to

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Jonas Schnelli via bitcoin-dev
> The API implementation is not what is centralizing, nor is full indexation > non-scalable. The centralization is in not running the API from a node under > your own control. This is of course implied by the comment, “without the need > for syncing”. In other words it is the deployment cost of

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Blockchain Group via bitcoin-dev
Awesome, thanks for the information. I will work on it and keep it in mind. On Wed, Aug 29, 2018, 11:57 PM Jonas Schnelli wrote: > > > The API implementation is not what is centralizing, nor is full > indexation non-scalable. The centralization is in not running the API from > a node under your

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Eric Voskuil via bitcoin-dev
You have created a straw man. And light clients working against the P2P network (anonymous nodes) implies they are not fully validating, so you are contradicting yourself. e > On Aug 29, 2018, at 11:27, Jonas Schnelli wrote: > > >> The API implementation is not what is centralizing, nor is f

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Blockchain Group via bitcoin-dev
Thanks! That is what my main point is. On Wed, Aug 29, 2018, 8:10 PM Eric Voskuil wrote: > The API implementation is not what is centralizing, nor is full indexation > non-scalable. The centralization is in not running the API from a node > under your own control. This is of course implied by th

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Eric Voskuil via bitcoin-dev
The API implementation is not what is centralizing, nor is full indexation non-scalable. The centralization is in not running the API from a node under your own control. This is of course implied by the comment, “without the need for syncing”. In other words it is the deployment cost of the node

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Blockchain Group via bitcoin-dev
Thanks, I'll check it out. On Wed, Aug 29, 2018, 12:06 AM Jonas Schnelli wrote: > 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 > fundamenta

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-29 Thread Jonas Schnelli via bitcoin-dev
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

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Eric Voskuil via bitcoin-dev
https://libbitcoin.org > On Aug 28, 2018, at 10:34, Blockchain Group via bitcoin-dev > wrote: > > Thanks, I'll check it out. ___ bitcoin-dev mailing list bitcoin-dev@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Guido Dassori via bitcoin-dev
Hi Sumit, There's no protocol api to fetch a single transaction over the p2p network. You can query peers for mempool transactions, but once there are into a block, no way to obtain them without fetching the entire block. Also, you may want to take a look to spruned ( https://github.com/gdassori/

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Blockchain Group via bitcoin-dev
Thanks, I'll check it out. On Tue, Aug 28, 2018, 9:17 PM Matias Alejo Garcia 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.

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Matias Alejo Garcia via bitcoin-dev
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ías On Tue, Aug 28, 2018 at 12:43 PM Joseph Gleason ⑈ via bitcoin-dev < bitcoin-dev@lists.

Re: [bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Joseph Gleason ⑈ via bitcoin-dev
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. htt

[bitcoin-dev] Building a Bitcoin API and query system.

2018-08-28 Thread Blockchain Group via bitcoin-dev
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