The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see...
Transcript of The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see...
![Page 1: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/1.jpg)
The BlockchainJosh Vorick
![Page 2: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/2.jpg)
Bitcoin is a currency.Blockchain is a technology.
![Page 3: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/3.jpg)
What is a blockchain? ● A decentralized database that anyone can add to and no one can delete from
![Page 4: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/4.jpg)
The Bitcoin blockchain
![Page 5: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/5.jpg)
Agenda● Why You Should Care● Bitcoin
○ Transactions○ Mining○ Mining Pools○ Scalability
● Other blockchain applications
![Page 6: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/6.jpg)
Why you should care
![Page 7: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/7.jpg)
Many are comparing the blockchain to TCP/IP
![Page 8: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/8.jpg)
$1 Billioninvested into blockchain-related startups
![Page 9: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/9.jpg)
![Page 10: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/10.jpg)
![Page 11: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/11.jpg)
$110,000median “blockchain engineer” starting salary
![Page 12: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/12.jpg)
In case money isn’t enough...● Trustless, decentralized networks● Remove third parties
○ Smaller fees○ Don’t need to trust a central authority
● Corruption-proof (e.g. Bitcoin is a safe haven from bank crisis)● Privacy● Completely Digital● Trustless● Removes Third Parties
![Page 13: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/13.jpg)
time to get technical
![Page 14: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/14.jpg)
The Bitcoin blockchain
![Page 15: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/15.jpg)
● Public key (verification key)
● Secret key (signing key)
● Sign a message with your secret key
● Verify that a signature is valid using their public key
Digital Signatures
![Page 16: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/16.jpg)
Cryptographic Hash● Deterministically maps an input string to
a fixed length output● Output looks like a random number● Collision resistant
HASH
6d324eff6c3f40c14c24642f82272e8b16bc158a67a6e6
4e8c511e534dbb7c8d
![Page 17: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/17.jpg)
a0cd8d94408af12bc1bdb677ca47d86b049c448e300568b5015c396a56827ea70fe8d2bf473ea9be8265a6b39e9d1e3e0581db2b25a4cc061a6de9ff44b30a314400b44ebad3d1af844cdb40b58bcf35632152bf825718912eaa0f65b4a780c0581983570796b7a8eced52f936e2b106e8191227c351415b8f525f994077ca002460cc3b6f9e45776042f9cbe8cd6441dc891fe4daf5a7ce22bb0e7c04e3253ff37542514e3967e7dca8518310f8851301e33ad1b831aaae1ca1ec6c31639dd54691c4987ede6c3228bf453c01dc1a1f67242d601473c2f533f6b30a31440c3b6f9e
45776042831
0
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
01
2ca5cfc1a35679225c87410c2039dce459f67138c8a23b8d19aad4d3c037c23b
hash
5feceb66ffc86f38d952786c6d696c79c2dbc239dd4e91b46729d73a27fb57e9
hash
0a13032d6e91709e88effb654657fcb620432caa2dc1f37db32871eb5e3a2aa7
hash
57bb432fbc63aa7588e8a66329e4534b6567fd2f4f26f91caa5f9b01396d4f98
hash
![Page 18: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/18.jpg)
(non-cryptographic) hash
def myHash(str): hash = 5831 for c in str: hash = hash * 33 + int(c)
return hash
cryptographic hash (blake2b)
![Page 19: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/19.jpg)
Transactionsare complicated
![Page 20: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/20.jpg)
What’s in a Transaction?the super duper basics
● Sender
● Recipient
● Amount
● Signature
![Page 21: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/21.jpg)
txn1Alice -> Bob
25 Btc-Alice
![Page 22: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/22.jpg)
What’s Really in a Transaction?the super basics
● Sender
● Recipient
● Amount○ List of inputs○ List of outputs○ SUM(in) = SUM(out)
● Signature
![Page 23: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/23.jpg)
txn1Alice -> Carol15 Btc (see txnx)
-Alice
txn2Bob -> Carol10 Btc (see txny)
-Bob
txn3Carol -> Dave25 Btc (txn1+txn2)
-Carol
![Page 24: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/24.jpg)
txn115 Btc to Carol
see txnx-Alice
txn210 Btc to Carol
see txny-Bob
txn325 Btc to Dave
see txn1, txn2-Carol
![Page 25: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/25.jpg)
txn115 Btc to Carol
see txnx-Alice
txn210 Btc to Carol
see txny-Bob
txn320 Btc to Dave5 Btc to Carol
see txn1, txn2-Carol
![Page 26: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/26.jpg)
What’s Really Really in a Transaction?
the basics
● Sender
● Recipient’s public key
● Amount○ List of inputs○ List of outputs○ SUM(in) = SUM(out) + Miner fee
● Sender’s signature
![Page 27: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/27.jpg)
txn115 Btc to pkC
see txnxsign(txn1, skA)
txn210 Btc to pkC
see txnysign(txn2, skB)
txn320 Btc to pkD
4.999 Btc to pkCsee txn1, txn2
sign(txn3, skC)
![Page 28: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/28.jpg)
txn115 Btc to pkC
see txnxsign(txn1, skA)
txn210 Btc to pkC
see txnysign(txn2, skB)
txn320 Btc to pkD
4.999 Btc to pkCsee txn1, txn2
sign(txn3, skC)
![Page 29: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/29.jpg)
What’s Really Really Really in a Transaction?
● Sender
● Recipient’s public key
● Amount○ List of inputs○ List of outputs○ SUM(in) = SUM(out) + Miner fee
● Script○ Multisig○ Locktime○ Puzzles○ etc
● Sender’s signature
![Page 30: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/30.jpg)
Mining
![Page 31: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/31.jpg)
Miners● Get sent transactions
● Compile them into blocks
● Add their blocks to the blockchain
![Page 32: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/32.jpg)
If miners add blocks willy-nilly, the blockchain will quickly become inconsistent
![Page 33: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/33.jpg)
Give the miners a hard puzzle● Miners work on puzzle
● Whoever solves it shows the network their solution
● Their block gets added to the blockchain
● Puzzle is called “proof of work”
![Page 34: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/34.jpg)
Proof of Work● Used to prevent fraud
○ DoS attacks
○ Spam
○ Blockchain!
● Make it computationally hard to do something
● e.g. “You can’t access my website unless you do work”
![Page 35: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/35.jpg)
Example challenge● m = “Challenge text”
● n = ???
● target = 0x0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
● Find some n such that hash(m + n) < target
![Page 36: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/36.jpg)
“Challenge Text0” hash 0xa34adb8461404adfab8d08e6cbdb24029e1bb0a8d906d080d01842ce57ee9156
“Challenge Text1” hash 0xcc6122116e95dae6279fdb241497f92e5f50093a35a5c7dc010f1f357d43ed6c
“Challenge Text2” hash 0x669a60a2bcefaa27cad56b0d9754bbaf7cc596d2b809782345d99e8b53e5f3bd
“Challenge Text3” hash 0x85a38de18ed2a5246c778c4888b72ee62e6464e24307055a55afd995dd548576
“Challenge Text4” hash 0x67618f5b9a7f6358609f96eab68c610f375f1a580f7d9bb99d628c8ee8ba21fa
“Challenge Text5” hash 0x04f0d5919eccd435de1521c5234663971bf0e9113b129f2f689d586596dbe4fc
Lucky!!
target = 0x0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
![Page 37: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/37.jpg)
Miner code!!def mine(Block, target): n = 0 while true: h = hash(Block + n) if h < target: return n n++
Block up to 1MB => hashing is SLOW
def mine(Block, target): n = 0 b = hash(Block) while true: h = hash(b + n) if h < target: return n n++
Version 2
![Page 38: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/38.jpg)
Now we only hash Block once, right?
No :(
![Page 39: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/39.jpg)
How can we do this faster?
![Page 40: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/40.jpg)
Block
hash
![Page 41: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/41.jpg)
Block
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
![Page 42: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/42.jpg)
Block
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
![Page 43: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/43.jpg)
Block
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
hash
hash
![Page 44: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/44.jpg)
Block
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
hash
hash
![Page 45: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/45.jpg)
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
hash
hash hash
hash
hash hash
hash
hash hash
hash
hash
hash
hash
hash
Merkle tree
![Page 46: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/46.jpg)
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
hash
hash hash
hash
hash hash
hash
hash hash
hash
hash
hash
hash
hash
Merkle tree
![Page 47: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/47.jpg)
hash
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
hash
hash hash
hash
hash hash
hash
hash hash
hash
hash
hash
hash
hash
Merkle tree
![Page 48: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/48.jpg)
Sweet! Let’s Mine!
![Page 49: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/49.jpg)
1~720,000,000,000,000,000,000
Chance of solving a block on the first try
![Page 50: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/50.jpg)
= Chance of being struck by lightning 1,977,098 times
in one second
![Page 51: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/51.jpg)
1~20,000,000,000
Chance of solving a block in 1 hour on a $300 CPU
![Page 52: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/52.jpg)
1~100,000,000
Chance of solving a block in 1 hour on a $300 GPU
![Page 53: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/53.jpg)
1~240,000
Chance of solving a block in 1 hour on a $370 ASIC
![Page 54: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/54.jpg)
≈$1per day (amortized)
![Page 55: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/55.jpg)
Mining Pools
![Page 56: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/56.jpg)
Use a Central Server to Run the Pool● Mine blocks for the server
● Submit ‘partial blocks’ to server○ e.g. when you almost beat the target
● Types○ slush
○ Pay-per-Share
○ Luke-Jr’s
![Page 57: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/57.jpg)
P2Pool● Using a blockchain to create a mining pool
● Miners in the pool have their own side-blockchain
● Not used commonly due to network latency
![Page 58: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/58.jpg)
![Page 59: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/59.jpg)
14,695,844PetaFLOPS
Tianhe-2 operates at just 33.86 PetaFLOPS
![Page 60: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/60.jpg)
What if we replaced the hash with meaningful work?
![Page 61: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/61.jpg)
Related Topics● Decentralized Computing
○ P versus NP?
● Homomorphic encryption○ Compute on encrypted data
○ Still really slow
![Page 62: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/62.jpg)
Scalability
![Page 63: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/63.jpg)
230,000transactions every day
![Page 64: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/64.jpg)
Other Applications
![Page 65: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/65.jpg)
All blockchains:● Have transactions
● Have miners
● Use Merkle trees
● Have similar scalability issues (for now)
![Page 66: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/66.jpg)
● Trade custom assets
● Make bets
● Leverage
● Hedging
![Page 67: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/67.jpg)
● Turing complete block chain
● Smart Contracts
● Platform for other blockchain
applications
![Page 68: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/68.jpg)
● Decentralized prediction
market
● People bet on events’
outcomes
● Get precise forecasts on any
event
![Page 69: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/69.jpg)
● Decentralized eBay
● Create your own store and
sell to peers on the network
● No fees / restrictions
![Page 70: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/70.jpg)
Proof of Existence● Add the hash of a document
to Bitcoin’s block chain
● Enables to prove you had that
document on that date
![Page 71: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/71.jpg)
● Add an ownership layer to the Internet
● Enable artists to know when/where their art is being used
● Allow users to easily pay commissions
● Enable for limited editions of digital art
![Page 72: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/72.jpg)
● Decentralized cloud storage
● Secure peer-to-peer file
storage
● Rent out empty hard drive
space
![Page 73: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/73.jpg)
![Page 74: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/74.jpg)
Bitcoin Club!● Focus on blockchain technologies● Learn more about how they work● Discuss applications of the blockchain in greater detail● Workshops
○ Bitcoin○ Ethereum○ etc
● Expos!○ Get funding to go to expos
● Hackathons!○ Blockchain Madness
![Page 75: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/75.jpg)
How do I join?● Facebook
○ Georgia Tech => Bitcoin Club
○ Message Josh Vorick (me)
● Looking for Leadership○ Drafting a Constitution soon
○ Let me know if you want to help!
![Page 76: The Blockchainbigotheoryclub.weebly.com/uploads/5/8/3/7/58370541/big-o... · 2018. 9. 1. · see txn 1, txn 2 sign(txn 3, sk C) What’s Really Really Really in a Transaction? Sender](https://reader033.fdocuments.in/reader033/viewer/2022061003/60b176047a54c813344c3477/html5/thumbnails/76.jpg)
Questions?