See Also
Commented consensus/merkle.cpp Merkle root on Bitcoin Core Source Code
In this article we take a look at one of the most important components of block validation and overall blockchain integrity: the Merkle Root derivation process. While it’s one of the most critical components in all of Bitcoin Core, its concept and implementation are very simple and straightforward. The consensus/merkle.h header consists solely of 3 […]
Commented amount.h on Bitcoin Core Source Code
amount.h is one of simplest source files in Bitcoin Core. In fact we can paste it in it entirety and discuss it afterwards: First the typedef int64_t CAmount typedef is defined. To explain this typedef, perhaps we should discuss how a Bitcoin is stored in order to understand why a 64 bit integer is enough […]
Introduction to our commented Bitcoin source code section
Below you’ll find the main commented Bitcoin source code sections (sorted by section name and filename). Core amount.h – Defines the CAmount typedef, implements minimum and maximum valid amount range check. base58.cpp – The encoding function used for Bitcoin addresses. Base58 removes some potentially ambiguous characters from Base64 so Bitcoin addresses can be written down […]
init.cpp Bitcoin Core startup source code
This is our first exploration of Bitcoin-specific code in this series of articles. Until now we’ve looked at how the Qt system was set up to run the GUI and Bitcoin services in separate threads and how those threads interconnected using Qt signals and slots. The BitcoinCore class in qt/bitcoin.cpp is the glue that ties […]