See Also
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 […]
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 noui.cpp source code – Terminal interface to Bitcoin Core
We began our exploration of the Bitcoin Core source code from the Qt graphical user interface on down. We saw how the Qt signals and slots mechanism was used to handle signals from the underlying Bitcoin Core subsystems. Now we’ll take a look at the noui header and source to see how the user interface […]
256 Bit Integer commented uint256.cpp from Bitcoin Core source code
If you’ve developed systems in C or C++ before then you’re probably familiar with the stdint.h (cstdint for C++) typedefs. Since there’a lot of variation between platforms, stdint.h standardizes integer type names in an intuitive way. A uint8_t is an 8-bit unsigned integer and a uint64_t is a 64 bit unsigned integer. What you won’t […]