Programming

C Programming: Reading from inactive union members by @Gal
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...
A Few Quick C Programming Tips and Tricks by @Gal
C is a small and relatively simple language when compared to C++, Java and C#. Still, there's much more under the C hood than meets the eye! Writing correct C takes lots of...
Create an autotools project from scratch by @Gal
Recently I decided to finally try to understand autotools. It's been on my list for ages, so I took the opportunity to read a bit more about the de-facto standard GNU build system...
Crypto.BI Encrypted Cloud Backup – ECB by Toolbox Team
Crypto.BI Encrypted Cloud Backup (ECB) is a tool that encrypts files, directories and MySQL databases, mangles their name so it's not understandable by the cloud storage system. ...
base58.cpp – Commented Bitcoin Source Code by JF
Base58 encoding is responsible for one of the most recognizable technical aspects of Bitcoin Core - the addresses! This source file is responsible for a significant part of th...
chainparams.cpp – Commented Bitcoin Source Code by JF
In this article we'll take a look at one of the better known Bitcoin Core source files. Why is chainparams.* known to so many crypto developers? Because since 2011 or so, ba...
uint256.cpp – Commented Bitcoin Core source code by JF
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...
Commented Bitcoin source code – Introduction by JF
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...
rpc/server.cpp – Commented Bitcoin Source Code by JF
We now dive into one of the most exciting components of the Bitcoin Core source code. The RPC subsystem interconnects the connection manager, wallets, the storage subsystem and...
dummywallet.cpp – Commented Bitcoin Core source code by JF
We mentioned in a previous Bitcoin Core source code article that bitcoind can be compiled without wallet support. Why would anyone do that? Historically there were 2 main fu...