I’m new to C++, but I’ve just started looking at the Bitcoin code on Github to better understand how it works.
It got me thinking about Peercoin…
Was Peercoin coded from scratch, using Bitcoin as a model? Or was it forked and modified?
If I wanted to learn more about cryptocurrency through the code, would I find it easier to learn with Peercoin (as opposed to Bitcoin) due to it having a cleaner code structure + comments? Or are both quite similar in their structure?
bitcoin is up to 0.9.something now and peercoin was forked from bitcoin 0.6 if i remember correctly, some aspects have been updated to match the bitcoin code others have not.
If you want to understand bitcoin in general I would suggest starting with bitcoin as you can see where the latest tech is at and the new ideas etc. However if you are more interested in POS (proof of stake) then I would suggest you start with Peercoin.
Many aspects of peercoin have not been modified like varible names as these still read bitcoin in many places but this is so that upstream changes can be merged in easier. So there is much overlap between the two.
Peercoin was forked at a point where the code is pretty well commented and easy to follow so if your interests lie with peercoin then go for that for starters, you will cover the basics of cryptocurrency
also please post questions, thoughts, aspects of the code you like in threads as dev discussions are really iseful and i wonder if they do not happen enough in peercoin. There is a wiki i started to try get some core aspects of the code documented for reference but still very much work in progress
[quote=“FuzzyBear, post:3, topic:3295”]bitcoin is up to 0.9.something now and peercoin was forked from bitcoin 0.6 if i remember correctly, some aspects have been updated to match the bitcoin code others have not.
If you want to understand bitcoin in general I would suggest starting with bitcoin as you can see where the latest tech is at and the new ideas etc. However if you are more interested in POS (proof of stake) then I would suggest you start with Peercoin.
Many aspects of peercoin have not been modified like varible names as these still read bitcoin in many places but this is so that upstream changes can be merged in easier. So there is much overlap between the two.
Peercoin was forked at a point where the code is pretty well commented and easy to follow so if your interests lie with peercoin then go for that for starters, you will cover the basics of cryptocurrency
also please post questions, thoughts, aspects of the code you like in threads as dev discussions are really iseful and i wonder if they do not happen enough in peercoin. There is a wiki i started to try get some core aspects of the code documented for reference but still very much work in progress