See Also
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 […]
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 couldn’t break anything if I tried – so I went ahead and ran it. Let’s see: I skipped sending SIGKILL (9) for obvious […]
optional.h a pre-C++17 optional type in the 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 you can see that lots of sections could use C++ 17 idioms. Let’s keep in mind though that Bitcoin Core is high security software […]
Bitcoin Blockchain MySQL Database Inserter Configuration
Toolbox tries to read configuration from $HOME/.cyptobi/cryptobi.conf If a config file is unavailable, then defaults will be applied. The order of precendence from highest to lowest is: Command line options override all others. Config file options override defaults. Program defaults. Environment Set CRYPTOBI_HOME environment variable to the directory where you cloned the Crypto.BI Toolbox from […]