Bitcoin
A Decentralized, P2P, Crypto Currency
Bitcoin protocol
1.
2.
3.
4.

Transactions
Block (Chains)
Bitcoin Mining (Pools)
Wallet
Bitcoin Beginning
1. 2008
2. “Satoshi Nakamoto”
3. Anonymous Underground Genius
Bit What ?
“Bitcoin is an innovative payment method
& a new kind of money”
--bitcoin.org
Bit What ?
“Bitcoin is an innovative payment method
& a new kind of money”

PEER TO PEER
FUND TRANSFER

GLOBAL
ACCEPTANCE

LOW or NO
PROCESSING FEE
Bit What ?

NO BANKS OR REGULATING AGENCIES
PEER TO PEER
FUND TRANSFER

GLOBAL
ACCEPTANCE

LOW or NO
PROCESSING FEE
Bit What ?
ANONYMOUS
TRANSFERS

NO TRANSFER
LIMITS

YOUR ACCOUNT
CANNOT BE SEIZED

NO BANKS OR REGULATING AGENCIES
PEER TO PEER
FUND TRANSFER

GLOBAL
ACCEPTANCE

LOW or NO
PROCESSING FEE
Bitcoin Protocol is Complex
And requires knowledge of :
1. Hashing
2. Digital Signatures
3. JSONRPC
4. Digital Architecture (general)
5. Finance
6. Sociology (explicitly built into system)
Digital Signatures
Alice
SK

VK
Digital Signatures
Alice
SK

VK

Message

SK

ECDSA
Signature
Digital Signatures
Alice
SK

VK

Message

SK

Message

Sign

VK

ECDSA

ECDSA-1

Signature

bool
Bitcoin transactions
Are like a ledger entry to a global(open)
ledger called the block chain
You own bitcoins if there is a record of
some bitcoins being credited to you in the
ledger
Naming Conventions
Transactions (ledger entry)
Blocks (ledger page)
Block Chains (ledger)
Transaction Records
Alice
VKa

SKa

àžż 50

Bob
VKb

SKb
Transaction Records
àžż 50

Alice
VKa

SKa

Bob
VKb

30

VKc

40

VKd

10

VKe

Record of bitcoins being
transferred to Alice earlier

SKb
Transaction Records
àžż 50

Alice
VKa

SKa

Bob
VKb

30

VKc

Dc

40

VKd

Dd

10

VKe

De

SKb
Transaction Records
àžż 50

Alice
VKa

SKa

Bob

INPUT

OUTPUT

30

VKc

Dc

VKb, àžż 50

40

VKd

Dd

VKa, àžż 28

10

VKe

De

VKb

SKb

àžż 2 transaction fee
that’s charged by
the miner against
Proof Of Work
Transaction Records
àžż 50

Alice
VKa

Bob

SKa

VKb

30

VKc

Dc

VKb, àžż 50

40

VKd

Dd

VKa, àžż 28

10

VKe

De
SKa

SKb
Transaction Records

Dc

VKb, àžż 50

Dd

VKa, àžż 28

De
SKa
Proof of Work Protocol
A proof of work is a piece of data which is
difficult to produce so as to satisfy certain
requirements.
Producing a proof of work can be a
random process with low probability.
Bitcoin’s Proof of Work
Bitcoin needs a miner to solve for a proof
which, the hash of, when concatenated
with hash string should have a certain
(predefined) number of preceding zeros.
Bitcoin’s Proof of Work
Example (Let challenge = C, proof i = Pi)
Hash(P1C) = fj8wru38wrajfhjafhjka

Hash(P2C) = fuwu893r98wefjlioas



Hash(PnC) = 000fhf8iaedihuhfuias...
Transaction Blocks

Alice

àžż 50

Bob
Single
transaction
Transaction Blocks
Transaction Blocks

MINER

MINER

MINER

MINER

MINER
Transaction Blocks

MINER

MINER

MINER

MINER

MINER
Transaction Blocks

MINER

MINER

MINER

MINER

MINER
Transaction Blocks
MINER

HASH

HASH

FINAL HASH
Transaction Blocks
MINER

HASH

HASH

FINAL HASH

CHALLENGE
(256 bit hash)
Transaction Blocks
MINER

HASH

HASH

FINAL HASH

CHALLENGE
(256 bit hash)

PROOF

HASH

00000000006872hkhaks67y7q2kjnjzxc8zx9mq3w8703q09chjchajhcjhajc3rnqw
MINER

25

+

Transaction Fee
MINER

25

+

The miner is allowed to add a
coinbase transaction to every
block she mines as a reward.
This is how new coins are
generated.

Transaction Fee
Time taken per block
As per the specification, the network
should come up with a new block every 10
minutes.
This also means that a transaction should
generally take 10 minutes to be
completed.
Difficulty Calibration
To ensure 10 minute transaction time, the
difficulty of mining is calibrated every
2016 blocks(or two weeks)
Reducing Difficulty
Happens when the network more than 10
minutes per block
The difficulty is reduced by reducing the
number of preceding 0s required in the
proof string
Increasing Difficulty
Happens when the network less than 10
minutes per block
The difficulty is increased by increasing
the number of preceding 0s required in
the proof string
Jinter Video Demo

I was able to mine
0.000005 BTC
SHIVEK KHURANA
Cluster Innovation Centre
University Of Delhi

Bitcoin : A fierce Decentralized internet currency