What's Blockchain? - at Berkeley
What's Blockchain? - at Berkeley
What is Blockchain?
Blockchain at Berkeley
Overview
Blockchain at Berkeley
Terminology
Blockchain at Berkeley
Merkle Trees
v1
Alice writes and signs a message describing her transaction
v1
C E
Alice sends her message to the world
F
A B
J H
G A
Slide by Viget
v1
C E
Alice sends five identical messages
F
A B ?
J H
G A
Slide by Viget
v2
C
Introducing uniquely identifiable serialE
numbers
F
A 8732 B
J H
Slide by Viget
v2
Where do serial numbers come from?
8732 ?
Slide by Viget
v2
A central bank manages transactions and balances
E
D G
B H
A I
C
Slide by Viget
v2
Centralization
E
D G
B H
01 01
A I
01 C 01
Slide by Viget
v3
Making everyone the bank
E
D G
B C
A I
Slide by Viget
v3
Alice sends her transaction to Bob
E
D G
B C
A I
Slide by Viget
v3
Bob announces the transaction to the world
E
D G
B C
A I
Slide by Viget
v3
Alice double spends on Bob and Charlie
E
D G
B C
A I
Slide by Viget
v4
Everyone verifies transactions
E
D G
B C
A I
Slide by Viget
v4
Alice is prevented from double spending
E
D G
B C
A I
Slide by Viget
v4
Alice sets up multiple identities
A
A A
B C
A A
Slide by Viget
v4
Alice double spends with her multiple identities
Sybil Attack: Done by creating many fake identities
A
A A
B C
A A
G A
Slide by Viget
v5
CProof-of-work E
F
A B
J H
Slide by Viget
v5
Pending transactions
v5
Verifying transactions
1 2 3
Slide by Viget
v5
Why the math?
Slide by Viget
v4
Alice double spends with her multiple identities
A
A A
B C
A A
Slide by Viget
v5
Proof-of-work as a competition
Slide by Viget
Summary
Bitcoin Mining
● Finding the PoW => 'found' a block; can add block to blockchain
○ Miner who found block adds "coinbase transaction"
■ contains mining reward (currently 12.5 BTC)
○ Miner broadcasts block
○ Other nodes verify, then add to their own copy of the blockchain
● Timeline + stats
○ This happens roughly every 10 minutes
■ Difficulty of the problem adjusted every 2 weeks
○ Block reward halving every 4 years (recently halved on July 9th)
■ Bitcoin is in limited supply - 21 million bitcoins by 2140
● Deflationary
○ 15.2 million bitcoins currently in circulation today
○ ~$9.6 billion market cap
○ Price is currently ~$600 per bitcoin
Blockchain at Berkeley
Types of Blockchain
Public Blockchain - A public blockchain is a blockchain that everybody in the world can read,
anyone in the world can send transactions to and expect to see them included if they are valid, and
anyone in the world can participate in the consensus process.
Fully Private Blockchain - A fully private blockchain is a blockchain where write permissions are kept
centralized to one organization. Read permissions may be public or restricted to an arbitrary extent.
Public Private
Future of Blockchain
Blockchain at Berkeley
Block 1
Timestamp
Block 3
Signature
blockchain.berkeley.edu 42 | October 2016
Blockchain at Berkeley
Example
Alice Bob
Tobias Max
Example
Alice Bob
So if Max wants
to make a
change the whole
chain gets a
message.
Everybody needs
to approve.
Tobias Max
Example
Alice Bob
Tobias Max
Pro’s / Con’s
Pros:
- It is secure, if somebody wants to change a contract everybody gets a warning
- Self executing,
- Distributed/Decentralized
- M2M (Machine to Machine)
Cons:
- Scalability of the chain
- Difficult for legal contracts, which need human interpretation
- Computation power
- Difficult to update a smart contract
DAO - DASH
Blockchain at Berkeley
Hyperledger
1. Finance
i. community of more than 50+ of the biggest banks in the world
ii. Altoros Hyperledger Demo: Distributed Clearing Platform For Derivatives
iii. Altoros Hyperledger Demo: Bond Issuance and Trading
iv. HACERA: Accounts You Can Count On
v. IntellectEU Demo: Smart Correspondent Banking
R3 - Project (Private)
1. Software/Platform
2. Consortium of 50 of the largest banks in the world
3. Corda Project - the distributed ledger for all 50 banks
Let’s watch a video!
R3 - Project (Private)
Chain.com (Private)
Delivers three different options for companies:
Chain.com (Private)
Ripple
Next week
Like us on Facebook:
@Berkeleyblockchain
https://www.facebook.com/berkeleyblockchain/