Bitcoin White Paper Made Simple
Bitcoin White Paper Made Simple
Made Simple
A guide to understanding the Bitcoin white paper for
people without an advanced degree in computer geekery
CONTENTS 2
WTF 3 Incentive 23
Network 13 Conclusion 28
BR.
THE BLOCKCHAIN REVIEW
3
WTF
BR.
THE BLOCKCHAIN REVIEW
WTF 4
Most of us regular folk have been scratching our average work required is exponential in
heads in utter bewilderment ever since the release of the number of zero bits required and can
the Bitcoin White Paper in 2008. I mean common. be verified by executing a single hash. For
WTF is going on, right? our timestamp network, we implement the
proof-of-work by incrementing a nonce in
Take a look at this… the block until a value is found that gives
the block’s hash the required zero bits. Once
the CPU effort has been expended to make it
”
To implement a distributed timestamp
server on a peer-to-peer basis, we will need satisfy the proof-of-work, the block cannot
when hashed, such as with SHA-256, the In fact, it addresses one of the most important
BR.
THE BLOCKCHAIN REVIEW
WTF 5
But let’s be honest. extension, you will also gain a better understanding
of blockchain, the underlying technology that
If you’re like most people without an advanced
enables Bitcoin to operate. If you have a general
degree in computer science or engineering, the
idea about Bitcoin but just can’t seem to make
excerpt above is just one of many examples that
sense of it all, this guide is for you.
makes you feel overwhelmed, frustrated and
bamboozled. The guide is not for people with advanced
knowledge of Bitcoin nor will it make you an
Don’t worry though. You’re not alone.
expert. With this in mind, we will be leaving out
The Intrepid team has heard your distress calls, and
some of the more hardcore technical elements
we’re here to help.
that are irrelevant to you gaining a fundamental
understanding. We will also be expanding on
Who should read this guide? some concepts where needed.
BR.
THE BLOCKCHAIN REVIEW
WTF 6
BR.
THE BLOCKCHAIN REVIEW
7
Background
BR.
THE BLOCKCHAIN REVIEW
BACKGROUND 8
It’s late 2008, and the global financial crisis is promising. In January 2009, the first transaction
causing shock waves around the world. Anger at the takes place between Satoshi and Hal Finney,
worldwide banking industry, governments and other a developer and prominent member of the
centralized authorities has reached fever pitch. Cypherpunk movement.
Enter a mysterious figure named Satoshi Nakamoto, And the rest is history. Today, almost everyone has
whose real identity continues to remain shrouded in heard about Bitcoin and its value has skyrocketed.
mystery to this day. Even more profoundly, the Bitcoin currency along
Satoshi authors and releases a white paper titled with its core blockchain operating technology has
Bitcoin: A Peer-to-Peer Electronic Cash System. managed to propel a decentralized revolution around
The paper shared the workings for a new digital the world. For a complete timeline of Bitcoin from
currency system that didn’t rely on banks to 2007 onwards, visit http://historyofbitcoin.org/ .
BR.
THE BLOCKCHAIN REVIEW
BACKGROUND 9
BR.
THE BLOCKCHAIN REVIEW
10
Introduction
BR.
THE BLOCKCHAIN REVIEW
INTRODUCTION 11
In the introductory section, Satoshi argues that governments to ensure trust and certainty.
digital transactions are too reliant on financial Middlemen perform a range of critical tasks that help
institutions and other intermediaries due to build trust into the transactional process. Things
something called the double-spending problem. like payment authentication & record keeping.
This reliance means that digital transactions are
The need for intermediaries is especially acute when
expensive and slow.
making a digital transaction.
To overcome the double spending problem, Satoshi
That’s because the internet today is an internet
proposes a new system called Bitcoin which enables
of information, where information is copied and
people to conduct direct electronic bitcoin payments
distributed around the world.
without needing to rely on costly intermediaries.
Think video, email, any digital file.
BR.
THE BLOCKCHAIN REVIEW
INTRODUCTION 12
online, you are not sending physical currency notes. This problem doesn’t exist in the physical world.
Only data, which represents the transaction of After a person spends physical currency like US
currency (USD, YEN, POUNDS, etc.) is getting dollars, they no longer have that cash (the actual
sent. So, money in the digital world is just another notes) in their possession. They can’t, therefore,
piece of data like an email or any digital file. spend the same money over and over.
Until now, in this Internet of information, it The digital world is a different beast. Intermediaries
has been impossible to store, move and transact like banks are needed to facilitate transactions and
money or anything of value without relying on an solve the double spending problem thus creating
intermediary. trust between parties. They do this by ensuring the
That’s because there’s a big problem. records of who owns what is up to date at any given
time.
Things don’t work so well if you can send someone
$100 online, yet still, have that original $100 under For example, if you spend $100, banks ensure that
your name. That would mean you could just keep your account balance decreases by $100 and the
spending that $100 as many times as you wanted. account of the person or organization you transacted
The money would become meaningless. with increases by $100. No double spending can
occur.
BR.
THE BLOCKCHAIN REVIEW
INTRODUCTION 13
The reliance on intermediaries to facilitate online To overcome the double spending problem which
transactions and prevent double spending has two results in a reliance on intermediaries and a whole
main disadvantages: new set of issues (inability to make non-reversible
• Non-reversible transactions are not possible as transactions, increased costs, etc.), Satoshi proposes
intermediaries like banks have to mediate any a new electronic payment system that relies on
disputes that arise. With the possibility to reverse sophisticated computer encryption (cryptography)
a transaction through mediation, the need for instead of the trust generated by expensive and slow
BR.
THE BLOCKCHAIN REVIEW
INTRODUCTION 14
BR.
THE BLOCKCHAIN REVIEW
15
Transactions
BR.
THE BLOCKCHAIN REVIEW
TRANSACTIONS 16
BR.
THE BLOCKCHAIN REVIEW
TRANSACTIONS 17
”
[Blockchain] is to Bitcoin, what the internet In the mint based model, the mint was
is to email. A big electronic system, on top of aware of all transactions and decided which
which you can build applications. Currency arrived first. To accomplish this without a
is just one. trusted party, transactions must be publicly
announced.
How does this decentralized network
made up of strangers spread across What about privacy and security?
the world (the Bitcoin blockchain) When people hear that all transactions are publically
overcome the double spending prob- announced, a typical response is - that’s an abuse of
lem? my privacy and security! I don’t want my transaction
It does this by publically announcing all transactions history and identity presented to the world.
to the network. As Satoshi states: Don’t worry. While it’s true that all transactions are
publicly announced, transactions use cryptography
BR.
THE BLOCKCHAIN REVIEW
TRANSACTIONS 18
So even though Bitcoin transactions can be viewed by Bitcoin digital signatures are like mathematical
anyone on the network, they are pseudonymous. When mechanisms that authenticate transactions. They
you send and receive bitcoins, it’s like writing under a use something called public key cryptography which
screen name, pen name, alias or whatever you want to is a system that uses pairs of connected keys.
call it. This alias which comes in the form of a jumbled A public key is publicly visible on the network, and a
bunch of characters is not linked to your identity. private key is known only to the owner of a Bitcoin. It
is these paired keys or digital signatures that ensure
transactions are secure, authentic and private.
That’s interesting, tell me more
Here’s a look at the transaction process in a nutshell:
A Bitcoin transaction is a signed piece of data that
BR.
THE BLOCKCHAIN REVIEW
19
A sender generates a private and a public key. They Why is this section important?
then digitally sign a transaction message which
Most of you will have heard about blockchain
ensures the transaction is authentic and non-
technology but wondered where it fits into the
repudiable and send their public key along with
whole Bitcoin thing. Now you can understand
the signature and message to the Bitcoin network.
the relationship between Bitcoin and Blockchain
But what happens if members of the network and see why they are so often confused or used as
use different transaction timelines? Members are interchangeable terms.
spread around the world so won’t people be able to
double spend their bitcoins? How do participants
in the Bitcoin network agree on a single history
of the order in which transactions were received?
BR.
THE BLOCKCHAIN REVIEW
20
Timestamp Server
BR.
THE BLOCKCHAIN REVIEW
TIMESTAMP SERVER 21
In section three, Satoshi goes into more detail about a single timeline and each transaction getting
how the decentralized Bitcoin network overcomes timestamped, how does a new recipient of bitcoins
the double spending problem. He proposes a know and trust that the previous owner did not sign
specific software that is used to digitally timestamp any earlier transactions? In the Bitcoin network
data called a timestamp server. there is no central intermediary to confirm if a
transaction or previous transactions have been
double spent.
What you need to know
Even though the majority of the network agree to run
on a single timeline, for a decentralized system like The solution
Bitcoin to operate without any central intermediary, The timestamp server is a piece of software that
there needs to be a way for the network to agree timestamps transactions when they occur. It takes
about which order transactions are generated in. a small section of the transaction data and digitally
That means each transaction needs to get stamped timestamps it to create a hash.
with a precise time on it.
BR.
THE BLOCKCHAIN REVIEW
TIMESTAMP SERVER 22
BR.
THE BLOCKCHAIN REVIEW
TIMESTAMP SERVER 23
An important note
If the same coin is sent to multiple recipients only
the first recorded transaction will be accepted. The
transactions with later timestamps are rejected.
Because the entire Bitcoin network agrees to the same
transaction timeline, there are no discrepancies.
BR.
THE BLOCKCHAIN REVIEW
24
Proof of Work
BR.
THE BLOCKCHAIN REVIEW
PROOF 0F WORK 25
Section four is SUPER important. It focuses on how Bitcoin network, they do not come in the order in
the Bitcoin network deters denial of service attacks which they get generated. Transactions get passed
and other service abuses. from node to node in the network, but there is
no guarantee that the order in which they are
received at each node is the same order in which the
What you need to know
transactions were generated.
For a decentralized system like Bitcoin to operate
To agree to the order of transactions, decentralized
without any central intermediary, there needs
networks like Bitcoin use Blockchain technology
to be a way for the network to agree about which
which places transactions in timestamped blocks
transaction records are valid and deter any abuse of
(groups).
service attacks like spamming.
All transactions in a specific block are deemed to
Although we have already learned how the Bitcoin
have occurred at the same time, and each block gets
network agrees to the order of transactions, it will
linked to a chain of other timestamped blocks in
help your understanding of Proof of Work if quickly
chronological order.
go over it again.
BR.
THE BLOCKCHAIN REVIEW
PROOF 0F WORK 26
But a big problem still remains. power, preventing the validation of real transactions
from occurring.
If multiple blocks can be created at the same time,
and blocks travel through the network arriving at
different points in the network at different times, Introducing Proof of Work (PoW)
how does the network agree which additions to the
Proof of Work aka mining is performed to facilitate
ledger are valid?
transactions on the blockchain and discourage bad
Any member of the network can still collect actors from spamming the network by sending out
unconfirmed transactions, create a block and send fraudulent or illegitimate transactions. It involves
it out to the network in an attempt to add it to the miners (members in the network with high levels of
validated chain of blocks (the Bitcoin blockchain). computing power) to prove that a specified amount
work has been completed.
If an ill-intentioned member of the network sends out These miners must solve complex mathematical
a bunch of unconfirmed or illegitimate transactions puzzles that are difficult to solve yet easy to verify.
to add to the blockchain, it could clog up the entire Solving these problems demands lots of expensive
system by monopolizing the network’s computing computational effort (lots of hardware equipment
BR.
THE BLOCKCHAIN REVIEW
PROOF 0F WORK 27
and electricity usage), so fraudulent transactions miners put new blocks of transactions through an
become infeasible. They are just not worth it! algorithm that turns a large amount of transaction
Miners that successfully solve the PoW puzzle and data into a fixed length aka a hash. (Remember we
update the blockchain get a reward of bitcoins. (This looked at hashing in the previous section.)
is how new bitcoins get made) The network picks The Bitcoin network demands that a block’s hash
the longest valid chain with the highest amount of has to look a certain way. If the hash doesn’t fit the
work as the correct chain. Consensus is reached! required format, then the puzzle remains unsolved.
Think about PoW as a system that adds a penalty It usually takes many attempts to find the solution,
or cost to members who try to present an alternate and as stated before, it takes a lot of computing
history of transactions to the network. power. Every time a miner successfully creates a
hash that fits the required format, they get a reward
of bitcoins, and the blockchain is updated.
What does Proof of Work actually
involve?
A Proof of Work problem is based on something
called a cryptographic hash function. In Bitcoin,
BR.
THE BLOCKCHAIN REVIEW
PROOF 0F WORK 28
BR.
THE BLOCKCHAIN REVIEW
29
Network
BR.
THE BLOCKCHAIN REVIEW
NETWORK 30
Section five of the Bitcoin white paper addresses the • The network nodes only accept the new block
steps involved in running the network. if all transactions in it are valid and not already
spent.
What you need to know • Nodes then move on and start creating the next
block in the chain.
The steps involved are as follows :
• Repeat above steps.
• New transactions are broadcast to all computers
(nodes) in the network.
• Each node collects new transactions into a block If two nodes broadcast different versions of the next
BR.
THE BLOCKCHAIN REVIEW
NETWORK 31
BR.
THE BLOCKCHAIN REVIEW
32
Incentive
BR.
THE BLOCKCHAIN REVIEW
INCENTIVE 33
”
In section six of the Bitcoin white paper, Satoshi This adds an incentive for nodes to support
looks at how to incentivize members/nodes to the network, and provides a way to initially
support the network and carry out the expensive distribute coins into circulation, since there
and time-consuming task of PoW, aka mining. is no central authority to issue them.”
BR.
THE BLOCKCHAIN REVIEW
INCENTIVE 34
BR.
THE BLOCKCHAIN REVIEW
35
BR.
THE BLOCKCHAIN REVIEW
RECLAIMING DISK SPACE 36
This section is all about saving space! keep the entire history of the Bitcoin blockchain
intact, Satoshi recommends keeping a trace or root
of a transaction so that the blockchain can remain
What you need to know
unbroken but at the same time have more space.
Think about the history of transactions that have
It’s kind of like data compression where all the
ever occurred on the Bitcoin blockchain since its
number of bits needed to represent data is reduced
inception in 2009. That’s a lot of transaction data!
to save storage space and speed things up.
Think about what happens when your computer
To facilitate this without breaking a block’s hash,
gets low on disk space. Standard processes begin to
transactions are hashed in a Merkle Tree. A Merkle
slow down, and your computer runs painfully slow,
tree is just a hash based data structure that allows the
right?
efficient and secure verification of large amounts of
Well, to save disk space and keep Bitcoin usable, data.
Satoshi proposes old transactions get discarded
after a set amount of time.
BR.
THE BLOCKCHAIN REVIEW
RECLAIMING DISK SPACE 37
BR.
THE BLOCKCHAIN REVIEW
38
BR.
THE BLOCKCHAIN REVIEW
SIMPLIFIED PAYMENT VERIFICATION 39
BR.
THE BLOCKCHAIN REVIEW
SIMPLIFIED PAYMENT VERIFICATION 40
BR.
THE BLOCKCHAIN REVIEW
41
Combining
and Splitting Value
BR.
THE BLOCKCHAIN REVIEW
COMBINING AND SPLITTING VALUE 42
Don’t be scared of the title. This is one of the easier Just like traditional currencies such as the US dollar,
sections to understand. bitcoins can be split into ‘cents.’ Whatsmore, they
can also be combined to form larger transactions.
As you may know, bitcoins can be split up, so for $50. It would be inefficient for you to hand over
it’s not only possible to transact in full Bitcoin $1 coins/notes to the shop attendant. It would also
BR.
THE BLOCKCHAIN REVIEW
COMBINING AND SPLITTING VALUE 43
BR.
THE BLOCKCHAIN REVIEW
44
Privacy
BR.
THE BLOCKCHAIN REVIEW
PRIVACY 45
Yes, you guessed it! But what about the privacy of people
This section is all about privacy. making transactions?
This is where public key cryptography comes to the
rescue. Transaction information is encrypted so
What you need to know
members of the network only see a random bunch
In the traditional banking model, privacy is achieved
of letters and numbers.
by limiting access to transaction information to the
No party that intercepts a transaction message will
parties involved and the trusted third party.
be able to read it. Only the holder of the private key
In Bitcoin, however, there is no central intermediary
can make sense of the message contents.
like a bank. Instead, new transactions are broadcast
to the network so all members can check that no
fraudulent activities like double spending are Why is this section important?
taking place. As the world digitizes at a rapid speed, data privacy
has become a significant concern. Data breaches
have impacted companies & government agencies
around the world. From Yahoo, Sony and Target
BR.
THE BLOCKCHAIN REVIEW
PRIVACY 46
BR.
THE BLOCKCHAIN REVIEW
47
Calculations
BR.
THE BLOCKCHAIN REVIEW
CALCULATIONS 48
Caution: Geek porn ahead! Section ten is not for probability he could catch up from that point: ∑ k=0
the average punter. ∞ k e - k! · { q/ p z-k if k≤z 1 if kz} Rearranging to
avoid summing the infinite tail of the distribution...
1-∑ k=0 z k e - k! 1-q/ p z-k Converting to C code...
What you need to know
#include double AttackerSuccessProbability(double
This section is getting well into the weeds. q, int z) { double p = 1.0 - q; double lambda = z *
Understanding it is not only unnecessary, but it (q / p); double sum = 1.0; int i, k; for (k = 0; k <=
could also be detrimental to your mental health. z; k++) { double poisson = exp(-lambda); for (i = 1;
Jokes aside, it will only serve to confuse you so we i <= k; i++) poisson *= lambda / i; sum -= poisson
will skip right over it and head to the conclusion. * (1 - pow(q / p, z - k)); } return sum; } 7 Running
some results, we can see the probability drop off
Take a look at this excerpt and you will see what exponentially with z. q=0.1 z=0 P=1.0000000 z=1
BR.
THE BLOCKCHAIN REVIEW
CALCULATIONS 49
BR.
THE BLOCKCHAIN REVIEW
50
Conclusion
BR.
THE BLOCKCHAIN REVIEW
CONCLUSION 51
• To overcome the double spending problem use cryptography. Transaction information can’t
and a whole new set of problems (inability to Members of the network only see a random
costs, etc.) Satoshi proposes a new electronic • For a decentralized system like Bitcoin to operate
payment system that relies on complex computer without any central intermediary, there needs to
encryption (cryptography) instead of the trust be a way for the network to agree about which
BR.
THE BLOCKCHAIN REVIEW
CONCLUSION 52
order transactions are generated in (to prevent history of the Bitcoin blockchain intact,
double spending) and which transaction records the Bitcoin network keeps a trace or root of
are valid (to deter any abuse of service like denial transaction data.
of service attacks and spamming). • You don’t have to be a miner that helps
• Proof of Work aka mining is performed to verify transactions to be involved in the Bitcoin
facilitate transactions on the blockchain and network. It’s also possible to send and receive
prevent abuse of service attacks. It involves bitcoins with a simple Bitcoin wallet.
miners (members in the network with high levels • A bitcoin can be both split into multiple parts
of computing power) to prove that a specified before being passed on and combined to make
amount work has been completed. a larger amount, thus ensuring practicality and
• To incentivize members to support the network efficiency.
and carry out the expensive and time- consuming
task aka mining, a reward is given in the form of
bitcoins.
BR.
THE BLOCKCHAIN REVIEW
53
BR.
About Blockchain Review
The Blockchain Review provides curated insights from industry insiders on cryptocurrency and blockchain
technology, and how it’s impacting business and society. Find simple and easy to understand advice for
founders, developers, and investors, on how to startup, grow, and succeed in a changing world shaped by
emerging technology and innovation.
Visit www.blockchainreview.io
BR.
THE BLOCKCHAIN REVIEW