crypto.bi

Programming Category - Page 2

optional.h – Commented Bitcoin source code
optional.h is a stub that'll likely get removed from Bitcoin Core at a future date when C++ 17 gets formally adopted for the entire project. By reading the Bitcoin Core sources...
C Programming: Reading from inactive union members
Unions are an interesting construct that you're likely to find in C programs. A union looks similar to a struct on the outside, but it has a special quality that it can only h...
Iterate through all values of errno
Ever wondered about all the possible UNIX error messages? I wanted to see what all the possible errors are, so I wrote a little program which iterates through all possible valu...
A program to send and handle every UNIX signal
While playing around with errno I decided to test what happens if I sent (and handled) every possible UNIX signal to a program. Running this as a non-root user, I figured I co...
qt/bitcoin.h – Commented Bitcoin 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 Bitco...
amount.h – Commented Bitcoin 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: /** Amount in satoshis (Can be negative) */ typed...
consensus/merkle.cpp – Commented Bitcoin 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 ...
noui.cpp – Commented Bitcoin Core source code
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 ...
Commented Bitcoin source code – Introduction
Commented Bitcoin Source Code - Quick Links If you're in a hurry, here are the links to commented source code sections (sorted by section and filename). Core amount.h - D...
uint256.cpp – Commented 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...

#CryptoPB

Crypto.BI CryptoPB Presents