See Also
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 […]
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 […]
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 […]
qt/bitcoin.h in Qt Bitcoin Core source code
qt/bitcoin.h pulls the config/bitcoin-config.h definitions that were generated by the configure script during the build process. This header also contains the Qt Q_OBJECT BitcoinCore class which handles 3 signals and provides 2 slots. (If you’re not familiar with Qt, please go here for an intro to slots and signals or here for an explanation about […]