Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

Learning from a source code is very useful at times, but it is a pain if the code is not commented well. Which of the open source Bitcoin software have the most thoroughly and understandably commented source code? That is, if someone wanted to understand how the main client, miner, pool or other Bitcoin software works, which projects should one look at?

share|improve this question
add comment

1 Answer

I remembered that I had seen answer to that question somewhere, after searching a bit I found it here.

Check out BitCoinJ (a from scratch bitcoin implementation in Java) and BitCoinSharp (a C# port of BitCoinJ). They are not full implementations yet, but they are very far along and can do most of the tasks of a bitcoin client.

No matter what language you plan to create your implementation in, looking at these is very valuable because they are very thoroughly commented and much easier to understand than the official C++ client.

weird, because it's the answer to your other question.

share|improve this answer
    
Well, that mostly covers the main client, but I was inspired to ask this question by trying to find some easy to understand miner code. I was tempted to write about BitCoinJ in the question, but that would be covering just a part of the topic and not adding much to the question. –  ThePiachu Oct 25 '11 at 6:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.