Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: CoinMarketFeed.com on October 28, 2017, 10:56:48 AM



Title: Bitcoin/Litecoin source code walkthrough?
Post by: CoinMarketFeed.com on October 28, 2017, 10:56:48 AM
Hi!

I've wondered if anyone here knew about some thorough bitcoin or litecoin source code walkthrough or tutorials?

I've found a topic which would go that direction but it's from 2011.

I've googled but it looks like one has to make his own digging from the point 0.

Thanks!


Title: Re: Bitcoin/Litecoin source code walkthrough?
Post by: digitx on October 28, 2017, 06:24:24 PM
Haven't ever seen any but I suspect its because the code base is a changing one and most coders will just run through it themselves on GitHub anyway.

Would be good to see it though as a way to get younger coders involved.


Title: Re: Bitcoin/Litecoin source code walkthrough?
Post by: achow101 on October 28, 2017, 09:52:15 PM
The software is incredibly large and complicated. Writing a walkthrough would require much too much time for very little reward. Instead of asking an extremely broad question, you should instead start at the entry point of the program and follow the code yourself. Ask specific questions when you don't understand anything, not ask super broad generic questions. The entry point of bitcoind is here: https://github.com/bitcoin/bitcoin/blob/master/src/bitcoind.cpp#L188


Title: Re: Bitcoin/Litecoin source code walkthrough?
Post by: nier00 on October 29, 2017, 03:46:05 PM
You can try to divide the process into several tasks:
- Network: connecting to the p2p network
- Loading/parsing the blockchain
- Creating new adresses
- Creating transactions
- ...


Title: Re: Bitcoin/Litecoin source code walkthrough?
Post by: nier00 on November 05, 2017, 06:12:37 PM
This is what you are searching for : https://embedded-design-vic.blogspot.com/search/label/Bitcoin
At the moment there is 6 articles.
Enjoy


Title: Re: Bitcoin/Litecoin source code walkthrough?
Post by: jeeri on January 19, 2018, 01:57:11 AM
This is what you are searching for : https://embedded-design-vic.blogspot.com/search/label/Bitcoin
At the moment there is 6 articles.
Enjoy

I have also gone through this article, it is very much useful to understand the code part. here I'm providing few more useful links :

https://bitcointalk.org/index.php?topic=41718.0 (https://bitcointalk.org/index.php?topic=41718.0)

The basic functionality or skeleton of core functionality is same for any coin. So it is advised to start with bitcoin and then enhance the research for other features.