Bitcoin’s Eternal Struggle

How Bitcoin Thrives on the Edge between Order and Chaos

Gigi
Gigi
Dec 22, 2019 · 15 min read

Bitcoin works. No matter what other opinions you hold about this strange phenomenon, it undoubtedly works, marches on, or, as I (and others) have previously argued, is alive. Even if most of the world would grind to a halt, the Bitcoin network would continue to produce valid blocks every 10 minutes or so.

Bitcoin works because of many things: game theory, economic incentives, cryptography, ingenious engineering, resilience on a network level, and so on and so forth. Killing Bitcoin is hard. Really hard. Killing Bitcoin is like killing an idea. An idea that is stuck in the heads of hundreds of thousands of zealous individuals.

First of all, it is quite hard to shut down the internet globally; and secondly, Bitcoin can transcend the internet. Everything which can transmit data can be used to transmit bitcoin transactions, and everything which can hold data can store a copy of Bitcoin’s block chain. It’s just a ledger; the whole thing is just information.

Curiously, the Bitcoin network is embodying the eternal struggle of life: the struggle against entropy; a battle on the edge between order and chaos.

To understand this chaotic struggle — and how Bitcoin thrives because of it — it is helpful to briefly discuss the following concepts: entropy, randomness, and information. I hope to convince you that these concepts are related and that they are essential in Bitcoin’s ongoing struggle for survival.

Let’s dive in.


Entropy

In computing, entropy can be used to measure the randomness of a data source. In cryptography in general, and in Bitcoin in particular, a good source of entropy is essential to keep you secure. Mess up the entropy of your private key (aka your seed phrase) and your bitcoins will be my bitcoins soon.

Note: the technical term for this unwanted transfer of coins is rekt. You don’t need to know what “getting rekt” means in detail, or the many ways in which you can get rekt; it is enough to know that you should avoid such a situation at all costs.

Entropy is quite a complicated concept, but in general terms, it describes how random or how compressible something is.

  • High entropy: randomness.

Or, in other words, with a nod to Tsachy Weissman:

  • High entropy: not very compressible.

There are complicated formulas and quite a few disambiguous definitions of entropy. The concept finds applications in classical thermodynamics, statistical thermodynamics, quantum statistical physics, order and disorder, life, astrophysics, and more. It is also a measure of irreversibility.

In Bitcoin, reversibility and irreversibility are probabilistic. If enough people with enough hash power collude transactions could be reversed. Absolute irreversibility does not exist in Bitcoin. Final settlement is never final, but always probabilistic. Yes, the chances of reversal might be beyond astronomical, but nevertheless, final settlement does not and should not exist in Bitcoin. Nakamoto consensus forbids it.

“The first law of thermodynamics, also known as the law of Conservation of Energy, states that energy cannot be created or destroyed in an isolated system. The second law states that the entropy of any isolated system always increases, and the third law states that the entropy of a system approaches a constant value as the temperature approaches absolute zero.”

— Knut Svanholm

In Bitcoin, entropy is important for multiple reasons:

  1. Secret information should be generated by high-entropy data sources

While the above speaks in absolutes (everyone and nobody), the truth is more nuanced: Again, Bitcoin is probabilistic in nature, thus, in theory, one could guess a private key just like in theory you could find a billion valid blocks in one millisecond.

Details aside, we will try to keep it simple here. In general, if you have two coins, the entropy of this system is two. As in: you can describe the whole system with two bits: 00, 01, 10, 11.

2 bits of entropy

Flip both coins at the same time, and you will end up with either tail-tail, tail-heads, heads-tail, or heads-heads. If you are a fair coin flipper, the chance of each combination will be 25%. Imagine a system that flips hundreds of coins at once, and you have something which could be used to generate a private key.


Randomness

Randomness is essential to cryptography. At the root of all secret communication is some form of information asymmetry: you know something a potential eavesdropper does not.

A good secret is like a good password: randomly generated, i.e. coming from a data source that has a high degree of entropy.

Random noise. How much information is contained in this image?

If something is “perfectly” encrypted, an eavesdropper can not distinguish what was said from random data. This is the purpose of proper encryption: you want to hide what was said, and, if possible, even hide the fact that something meaningful was said at all.

  • “Good” randomness: not compressible / high entropy / secret / secure.

Bitcoin doesn’t use encryption per se. The ledger is public and transparent by design, enabling anyone to audit the whole system with the will to do so. Bitcoin uses cryptographic signatures and cryptographic hashes, both of which produce quasi-random outcomes. And if you know the secret, you can unlock some coins (using your private key), add new blocks to the block chain (using the nonce you found), or prove that you are who you say you are (by signing a message, which at least proves that you are in control of one or multiple keys).

Only you know your private key. Nobody else should know your private key. Only you, the successful miner, found the nonce for the next block. That is information asymmetry. That is what makes Bitcoin work.

All cryptographic systems work because of information asymmetry. And curiously, properly encrypted data is indistinguishable from random data. Otherwise, an eavesdropper could make some sense of the encrypted message, which in turn would mean that the encryption used isn’t very good.


Information

What is information, anyway?

People often say that Bitcoin is thermodynamically secured. While this is true, I’d like to dig a little deeper. What does thermodynamically secured mean, exactly?

It means that — as far as we know —changing things in our universe requires energy. When I say “changing things” I mean it: change anything at all in our universe, and you will need to “use” energy — put in some work — to change that thing.

Move a chair? You have to put in some work. Grow a tree? You’ll need the energy of the sun to turn CO2 into wood. Do a calculation? Energy is required to manipulate whatever is holding the data. Store the outcome? You’ll need energy to arrange (and protect) the atoms for storage, no matter what medium is used.

Bitcoin lives mostly in the informational realm, and just like all other information systems, it needs to store and process the information via a physical medium. Thus, if you change information in Bitcoin, you effectively change a thing in the real world. Whether that thing is a solid-state disk, USB stick, hard drive, optical storage medium, or something else doesn’t matter.

The fact that changing things — or, in other words: flipping bits — requires energy, is the root conundrum of all computation. It is the reason why your computer makes a bunch of noise and gets hot if it does a lot of “thinking.” It is the reason that computer science students have to study the Big O notation and software companies love to ask questions about it. Changing a zero into a one requires work, and no matter how fast you are working, you still need to expend some amount of energy. According to physics, there literally is no such thing as a free lunch. Flipping bits is work, which requires energy.

And here is the thing: Bitcoin utilizes the fact that the difference between hard computational problems and exponentially hard computational problems is big. Mind-bogglingly big.

Alright. Back to our original question: What is information, anyway?

Sorted colors. How much information is contained in this image?

Information relates to both knowledge and meaning. It is the opposite of not knowing, and the opposite of information in data is randomness. In other words: if you are not able to make sense of some data, it might appear random to you.

  • Sensible information: quite compressible.

Pi might help to clear up what I’m trying to say: 3.141592653589793… can be “compressed” into π, or the circumference of a circle with the diameter of one.

As a computer programmer, you could think of this concept as follows: can I write a computer program that generates the information I’m trying to convey, which is actually shorter than the information itself? (That’s what I mean when I say “compressible”.)

In short: sense and nonsense, order and chaos, or information and randomness are intricately linked. One could say that they are two sides of the same coin, and both concepts are related via something we call entropy.

Information implies structure and structure benefits from redundancy. The most ancient structures in nature have been adapted for survival by evolution. At the root of it is DNA, two chains that coil around each other to form a double helix. Symmetric, redundant information. The properties which allow DNA to survive and thrive are embedded in its processes: redundant structure, a copying mechanism that relies on this structure, the baked-in error correction which leads to four bases instead of two, etc.

Bitcoin, in comparison, is simpler: one chain, two bits, no error correction (information is copied perfectly). However, as with DNA, the properties which allow Bitcoin to survive (and thrive) are embedded in the replication process: a chaotic race to find new blocks, replication of blocks in the network, and replication of the software (and the ledger) on as many nodes as possible. Further, when we talk about the Bitcoin organism, error correction is equivalent to being alive. The network self-validates with every beat of the heart, every ten minutes or so. This is what makes the bitcoin organism extremely robust as well. It is designed for survival.

In Bitcoin, high entropy information is usually kept secret. Your private key should, as the name implies, be kept private. It is for your eyes only. Which particular nonce you just tried, i.e. the work you already did when mining a new block, is usually kept private as well. You don’t want your competitors to know which numbers produce invalid blocks and can be skipped.

Chaos on the left, Order on the right.

Bitcoin utilizes both order and chaos to create a system that grows — and even thrives — between these extremes. It utilizes information asymmetry and an ingenious incentive structure which leads to a global competition to find Bitcoin’s secrets.

Which processes are orderly, which are chaotic, and how Bitcoin is able to grow on the edge between order and chaos will be explored in the next section.


Growth between Order and Chaos

What makes the Bitcoin network tick? Again, there might be many answers to this question, but the only thing that is truly ticking in the Bitcoin network is the global clock: a block clock, where every block is one unit of time.

Currently, we call this process mining because new bitcoins are generated for every valid block that is mined (read: found). We call this the block subsidy, and it is an incentive structure to bootstrap the network.

In a sense, the Bitcoin organism “grows” on the edge between order and chaos: finding new blocks is a chaotic process, and its result is a very orderly list of transactions: the Bitcoin block chain, also known as the ledger.

From a “finding new blocks” point of view, we are still extremely early. Only ~10 years in. The block reward era will go on until the year 2140 or so, which means we are about 13% into the bootstrapping phase of Bitcoin: the reward era.

Satoshi undoubtedly knew that this was a long game. The era where fresh blocks are associated with a reward is only one phase of the Bitcoin game. Note that this phase is 6930000 blocks long. With an average block time of ~10 minutes, the reward era turns out to be 131 years long.

2019: Early days of the Bitcoin Reward Era

There will be a time where those who are tasked with finding new blocks are rewarded mostly via the networks’ fee market, as Dan Held brilliantly argued in Bitcoin’s Security is Fine. The point in time where the fee market takes over will be somewhere between the year 2020 and 2140. Either that, or Bitcoin will die, or some museum computers will try to find new blocks at an economic loss.

After this point in time, we will probably still talk about “mining” bitcoin, even though all the “miners” won’t be producing any new bitcoins. All 21 million BTC — or 2,099,999,997,690,000 sats, to be precise — will have been mined. No new bitcoin will be added to the pool of existing coins in circulation.

Miners — if we still call them that —will still try to find new blocks, mind you. But the bitcoin moved by these blocks will have a long economic history. Gone are the days where miners award themselves new bitcoin in the coinbase transaction, to be spent after 100 blocks.

Will bitcoin still exist in 5000 years, and eventually beat gold as the de-facto money of humanity? I don’t know, but important information is extremely hard to kill. I expect bitcoin to live for a very long time, just like ancient scriptures and religious texts survive to this day. It is just information, all of it, and it can transcend the medium it is printed on.

Of course, I expect something approximating hyperbitcoinization to have happened until this point. We will have a circular bitcoin economy, and bitcoin banks will globally settle vast amounts of value between them. What private citizens — or sovereign individuals, to use a more fitting term — will use is yet to be seen. I doubt that the bitcoin base layer will be used by persons like you and me. And that’s perfectly fine.

With the stage set, and concepts like order, information, randomness, and entropy in mind, let’s take a look at some bitcoin concepts. We will distinguish them visually: from chaotic (left) to orderly (right).

Bitcoin grows between order and chaos.

While the framing of order and chaos is useful, it is neither precise nor universally applicable. However, I believe that thinking about the parts which make Bitcoin tick in this way is a helpful exercise, and I believe that the core point — that bitcoin lives, grows, and thrives on the edge between order and chaos — is profoundly true.

Let’s ponder on these concepts for a bit.

  • Private key: Chaotic information, very high randomness. Secret information which is best kept private. Maximum entropy for maximum security. If your private key is not random, you’re gonna have a bad time.

The fact that all of the above, the whole machinery, works in concert to provide a yes or no answer to the question “Is this what actually happened?” will never cease to amaze me.

Let me repeat the above. The whole purpose of the Bitcoin organism is to decide what happened when to whom. How much does everyone have, and how did this come to be? The how is important, because it allows everyone to audit everything, and come to the same conclusion.

In short, Bitcoin utilizes chaotic processes (mining, private key generation) and information asymmetry (public information which is widely shared, secret information which is not shared at all) to build up a structured, orderly, and permanent record, that can be audited and verified by everyone.

This is Bitcoin. This is Nakamoto consensus. This is the innovation, and this is also what makes bitcoin the best and hardest money that ever existed on planet earth.

You might call it open, permissionless, borderless, neutral, censorship-resistant, public, sound, antifragile, and a couple of other adjectives.

I call it Life. And we all call it Bitcoin.

By Gigi
Sept, 2019


The Bitcoin Times Ed 2 is the collaborative work of 8 writers & 1 designer with the intent to educate, inspire and spread ideas on bitcoin.

Each section will be released on Medium as a free long form article, and the full, compiled version of the Bitcoin Times will be available for free at the link below. In 2020, we’ll release a limited edition hard cover collectible, for purchase, which you’ll be notified of by email if you download the free pdf.

If you found value in this or any of the other essays and articles, please support each of the contributors by sharing it out & following their work.



The Bitcoin Times

Facts over Fiction. Practice over Theory. Timeless, Limited edition content, news, & information on Bitcoin. https://tippin.me/@timelessbitcoin

Gigi

Written by

Gigi

The Bitcoin Times

Facts over Fiction. Practice over Theory. Timeless, Limited edition content, news, & information on Bitcoin. https://tippin.me/@timelessbitcoin

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade