Skip to content

Bitcoin - Proof Of Work (POW) mining difficulty IS IN FACT network security

@lindyhan@lindyhan4 charts

Difficulty adjustments (2023)

Zooming into 2023, it is evident from on-chain data, revealing that almost 4x of the Bitcoin network protocol's difficulty adjustments have been UPWARD, that the Bitcoin network is experiencing high demand and increasing demand for transaction processing.

NOTE: this is in spite of the increased global adoption of the Lightning Network โšก, which processes transactions off-chain, only posting aggregate data on-chain when channels are closed. The Bitcoin network data we see from on-chain sources is understated. That means, real demand and usage of the Bitcoin network is actually more than that which the numbers are telling us, which is by itself already highly promising and encouraging.


Trivia:

The Bitcoin Network has NEVER been compromised since Day 0.

How do you think that's possible? It's largely thanks to the immense (and ever increasing) difficulty of the protocol that imposes HUGE cost barriers for attackers. The tremendous demand for electricity and modern equipment is a POSITIVE, DELIBERATE FEATURE, not a flaw!

Bitcoin Mining Difficulty

is directly related to the security and integrity of the Bitcoin Network.

Bitcoin mining is essentially guesswork. Difficulty is a measure of the computational power required of a miner to guess the correct hash in order to win the privilege of processing the transactions in that block, so as to earn the block reward plus transaction fees. It is an indication of number of guesses. More powerful machines are able to make faster and hence more guesses within the same timeframe.

(1) The Bitcoin protocol is programmed such that the difficulty level adjusts up/down after every block to maintain the average block generation time at 10 min. Difficulty increases when the generation time is <10min, ie the guessing game is becoming too easy for the players. It could be because there are more machines making more guesses, or the players have levelled up with more powerful machines that guess faster, or improved algos making smarter guesses, or all of the above (likely). Or, they are all just plain getting luckier (unlikely, haha).

(2) Difficulty is also adjusted every 2016 blocks. This is a more long term adjustment, and it is based on the chainwork value (more on this later) at the time of adjustment. This adjustment is to ensure that the combined mining power of all the miners in the Bitcoin Network is consistent with the mining difficulty. This is vital for the security and attack resistance of the network. For example, should an attacker discover a technological enhancement that gives it a sudden spike in hashrate, and the mining difficulty had not increased gradually over time, the attacker would find it easier to establish dominance.

In any case, the higher the difficulty level, the higher the barrier for any potential attacker as it would require tremendous initial capital investment and ongoing electricity costs.


Trivia: Difficulty is adjusted every 2016 blocks. Why such a seemingly random number? Satoshi Nakamoto certainly spares no opportunity to inject a sense of humor - the reverse order 6102 is coincidentally (or not) a decree by the U.S. govt in 1933 that confiscated all gold from private ownership. Everybody was forced to use fiat USD and fiat USD only.

The Chainwork Metric

is a measure of the cumulative total work done by miners to build the blockchain, from Day 0 till now. That is, the estimated total hashes (guesses) performed.

If an attacker intends to create a duplicate Bitcoin blockchain with historical transaction data tampered with, and fool miners to continue adding blocks to this fake blockchain, he would have to surpass this chainwork value.

If an attacker intends to create multiple private duplicates of the Bitcoin blockchain to increase his chances of being the next miner to add a block before broadcasting it publicly, he would also have to surpass this chainwork value.

The protocol rule is such that if there are multiple blockchain options for miners to add a new block to, the one selected is the blockchain with the highest Chainwork value, which is an indication of the most proof-of-work. This is not necessarily the blockchain with the largest number of blocks. A blockchain with more blocks but less Chainwork will not be selected by the Bitcoin Consensus Algorithm.

Chainwork is, LITERALLY, the Proof-Of-Work done on the blockchain.

Bitcoin is open source code.

Being open source adds even more points to Bitcoin's defensibility of the network. Anybody and everybody has access to the source code, to spot potential bugs to fix ๐Ÿ˜‰ or to exploit ๐Ÿ˜œ. The more rigorously the network is tried and tested, the stronger it grows! In contrast, recall the recent fiat bank failures where underwater Held-to-Maturity assets were hidden and disguised until it was too late.

So, it might seem that a team would be able to simply rip off the entire Bitcoin code to replicate and use under another name (maybe some countries might be considering this quick and dirty method to launch their CBDCs), while touting the same superior security qualities of Bitcoin.

โœ‹๐Ÿป Wait a minute, you forgot the Chainwork value.

At this point in time, the amount of Work Done using real world electrical power that cost real world money and took real world time to accumulate on the Bitcoin network is virtually impossible to catch up to.

Would you place your lifesavings on Bitcoin's tried and tested network with 15 years of rock solid, publicly verifiable history, or some blackbox CBDC that was born just last month, by the same group of people you got fiat-rugged by, again and again?

ESG's Bitcoin Witch Hunt

The Proof-of-Work protocol that Bitcoin uses, which is the very key to its bullet proof security, has been persistently and inaccurately demonized as being too energy intensive, causing climate pollution. Such efforts are largely led and funded by parties with existing financial and political interests that would be undermined by the rise in global adoption of Bitcoin.

The truth is:

  1. Bitcoin mining is largely powered by zero or negative emission sources [Source]
  2. It accounts for <0.2% of global energy usage [Source]
  3. It stabilizes our energy grid [Source]

Critics also fail to understand that

  1. Energy demand does not increase linearly with network usage or the price of BTC.
  2. Technology advancements will allow us to produce more energy more easily and to harvest it more efficiently.

Just like how we didn't die of starvation when available farmland didn't match population growth, right? Science fixed it with fertilizilers, machinery, selective breeding etc

...and what's the big deal about network security that puts Bitcoin in the position of being the only fitting network fit to run all the world's systems?

In case you haven't noticed, the world is transitioning from bloody physical wars to cyber wars. Swords and guns are relics. Countries like North Korea and Russia are experts at using Bot Armies to spread hate propaganda, disinformation, malware, steal identities, steal money etc

When the network security is easily compromised, attackers can

It really goes beyond just stealing monkey jpegs. This is actually on a national scale.

Give me security over cheap/fast transactions anytime.

Name ONE other blockchain network that has even a remotely legitimate claim to trumping Bitcoin's network security? Nope, you can't. It simply doesn't exist.