BIP-42 and Bitcoin’s Fixed Monetary Supply
home // page // Monthly Archives: July, 2018
Uncategorized

BIP-42 and Bitcoin’s Fixed Monetary Supply

Bitcoin’s fixed monetary supply – 21,000,000 bitcoins – is a fairly well-known fact these days, but there was a time when this wasn’t the case. In fact, until 2014 there was a major bug in Bitcoin that would have caused its supply to inflate forever. If you read the hilarious and short BIP-42 you can get a little bit of insight into what the infinite inflation bug was: As is well known, Satoshi was a master programmer whose knowledge of C++ was…

Uncategorized

m4 As A Simple Templating System

Sometimes, while working on a project, a simple templating system is necessary either for code or documentation generation. While you can get quite far with sed and awk, their nifty one-liners will eventually become monstrous, especially as your templates get more complex. How do you deal with this growing complexity? For a lot of use-cases the simple m4 macro processor is exactly what you want. This command is probably installed on your machine without you even realizing it. It comes standard…