Problem description
Litecoin’s code repo is a fork of Bitcoin’s repo with some changes. This training session lets you repeat part of the process of producing Litecoin’s code repo based on Bitcoin’s current code repo.
Please fork GitHub - bitcoin/bitcoin: Bitcoin Core integration/staging tree into your github account and start to modify the codebase and make it download the Litecoin main net blockchain completely. Make sure you understand every modification.
Evaluation
Once finished, show us the screenshots of the blockchain downloading log and the URL of your github code repository. Make sure it downloads the entire blockchain; it may get stuck in the middle
Hints
-
When doing the port from Bitcoin to Litecoin, you’ll need the values of the IsSuperMajority checker GitHub - thrasher-/IsSuperMajority-checker as they are consensus related. Incorrect values will cause consensus failure.
-
Every past release has commits prefixed with "Litecoin: " for cherry-picking/rebasing/merging etc. Examples here: Commits · litecoin-project/litecoin · GitHub
References
- Bitcoin’s dev documents: Development - Bitcoin
- Litecoin development-related docs: Category:Technical - Litecoin Wiki
- Mastering Bitcoin: GitHub - bitcoinbook/bitcoinbook: Mastering Bitcoin 2nd Edition - Programming the Open Blockchain
- Past commit history/litecoin specific changes there GitHub - litecoin-project/litecoin: Litecoin source tree
- Some tools had to be made to find Litecoin specific activation blocks/dates: GitHub - thrasher-/litecoin-tools
- IsSuperMajority checker GitHub - thrasher-/IsSuperMajority-checker