Title: [RFD] BtcFn Question: Designing a 'generic transport layer' for bitcoin? Post by: da2ce7 on May 15, 2011, 01:33:10 PM The BtcFn (The Bitcoin Freenet Project) project is in the process of working on the API connecting to the bitcoin client to other transport layers / data back-ends.
These backed layers will be used to transmit various bitcoin data over different protocols, such possible uses could be:
The API should be designed so that multiple applications can connect to the same bitcoin instance at the same time. The API should be non-blocking and atomic in design... (either something works completely, or it fails completely). Finally the API should have no access to any function that interacts with the wallet. The goal is that every bitcoin implementation will implement this API, so any bitcoin implementation can use any transport implementation. e.g. Bitcoinj could make use of the same Bitcoin p2p application as the mainline client. Questions/Comments? We will be working on the design on the bitcoin wiki: https://en.bitcoin.it/wiki/Bitcoin_Transport_Layer_API Title: Re: [RFD] BtcFn Question: Designing a 'generic transport layer' for bitcoin? Post by: da2ce7 on May 15, 2011, 01:48:29 PM More info on BtcFn can be found here: http://bitcointalk.org/index.php?topic=7181.0
Title: Re: [RFD] BtcFn Question: Designing a 'generic transport layer' for bitcoin? Post by: da2ce7 on May 17, 2011, 01:46:36 AM here is a diagram of what I was thinking of:
http://hostinga.imagecross.com/image-hosting-01/9527Bitcoin-Block-tx-IPC-wallet.png Title: Re: [RFD] BtcFn Question: Designing a 'generic transport layer' for bitcoin? Post by: da2ce7 on June 03, 2011, 07:20:34 AM We have been looking at lots of different ways of defining the Bitcoin Block/Tx IPC Protocol.
I think that using Google Protocol Buffers would be the most obvious protocol to define it with. If anyone has professional protocol specification writing experience please contact me.. or pop into #btcfn We have enough funds for some moderate compensation in bitcoin... However this work is 50% charity. Title: Re: [RFD] BtcFn Question: Designing a 'generic transport layer' for bitcoin? Post by: kjj on June 03, 2011, 08:05:31 AM The BtcFn (The Bitcoin Freenet Project) project is in the process of working on the API connecting to the bitcoin client to other transport layers / data back-ends. These backed layers will be used to transmit various bitcoin data over different protocols, such possible uses could be:
The API should be designed so that multiple applications can connect to the same bitcoin instance at the same time. The API should be non-blocking and atomic in design... (either something works completely, or it fails completely). Finally the API should have no access to any function that interacts with the wallet. The goal is that every bitcoin implementation will implement this API, so any bitcoin implementation can use any transport implementation. e.g. Bitcoinj could make use of the same Bitcoin p2p application as the mainline client. Questions/Comments? We will be working on the design on the bitcoin wiki: https://en.bitcoin.it/wiki/Bitcoin_Transport_Layer_API We already have a global system for moving arbitrary data over various media. Even pigeons. Oh, and the problem isn't so much in the downloading of the blocks as it is in the processing of them. Each node must process each block. |