See Also
qt/bitcoin.cpp – Commented Bitcoin source code
qt/bitcoin.cpp is where Bitcoin Core initialization leads us next. main.cpp, the Bitcoin Qt application entry point, is basically just a stub that calls GuiMain() at qt/bitcoin.cpp So, by sticking to our strategy, I’ll step into the call stack which now has GuiMain() at the top. GuiMain GuiMain gets the GUI set up, connects Qt signals/slots, […]
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 […]
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 […]
bitcoind.cpp – Commented Bitcoin source code
As mentioned in the Bitcoin-Qt commented source code post, there are several approaches one can take to step into the Bitcoin source in approximately the same order as it runs. For instance, tests are a great source of tiny example programs. Then there’s the ubiquitous Bitcoin-Qt client and, of course, bitcoind. All are good options […]