Bitcoin Forum

Bitcoin => Wallet software => Topic started by: hhanh00 on October 31, 2015, 07:50:05 AM



Title: Bitcoin-akka tutorial
Post by: hhanh00 on October 31, 2015, 07:50:05 AM
A step by step tutorial on building a full node implementation.

As for the features, here's a short list:

- Automatically synchronizes the blockchain using headers first and parellel block download
- Maintain database of unspent outputs: verifies and relays unconfirmed transactions
- Import/Export blockchain
- Serves headers and blocks - other nodes can synchronize the blockchain from Bitcoin-Akka

More importantly, every commit is documented and corresponds to a precise unit of work towards
the goal.

http://hhanh00.github.io/bitcoin-akka-tutorial/index.html


Title: Re: Bitcoin-akka tutorial
Post by: unamis76 on October 31, 2015, 12:25:35 PM
It's good to see developments in Bitcoin related clients... But why should I use this for my nodes instead of the regular client? :)


Title: Re: Bitcoin-akka tutorial
Post by: hhanh00 on November 01, 2015, 03:28:10 AM
It's good to see developments in Bitcoin related clients... But why should I use this for my nodes instead of the regular client? :)

It's a tutorial for people who want to learn about writing a bitcoin full node (not a client to bitcoin-core, a direct client to the bitcoin network).

If one wants to pop up the hood, the reference client has ~90 000 lines of C++, not very much documented. This tutorial has less than 1700 lines and much more documentation. Obviously the reference client has many things that this tutorial doesn't. But the basics are covered.

If someone gives you a do-it-yourself kit car that can drive around, would you ask if it replaces your Toyota?


Title: Re: Bitcoin-akka tutorial
Post by: unamis76 on November 01, 2015, 05:46:24 PM
It's good to see developments in Bitcoin related clients... But why should I use this for my nodes instead of the regular client? :)

It's a tutorial for people who want to learn about writing a bitcoin full node (not a client to bitcoin-core, a direct client to the bitcoin network).

If one wants to pop up the hood, the reference client has ~90 000 lines of C++, not very much documented. This tutorial has less than 1700 lines and much more documentation. Obviously the reference client has many things that this tutorial doesn't. But the basics are covered.

If someone gives you a do-it-yourself kit car that can drive around, would you ask if it replaces your Toyota?

Sorry I misunderstood the goal of your project. From what's written on the page I assumed it was an alternative client, a bit like Bitcoin-XT :)