SlideShare a Scribd company logo
CS425/CSE424/ECE428 — Distributed Systems — Fall 2011
2011-12-01 Nikita Borisov - UIUC 1
Token btlcoin
 Two problems
 Unforgeable electronic currency
 Secure, globally unique names
 Same underlying principle
 Decentralized global timestamping service
2011-12-01 Nikita Borisov - UIUC 2
Token btlcoin
 Create a digital currency that is
 Unforgeable
 Transferrable
 Secure
 Decentralized
 `Traditional’ e-cash:
 Coin =Token + signature of bank
 Token btlcoin : eliminate the bank!
2011-12-01 Nikita Borisov - UIUC 3
Token btlcoin
 Computational puzzle
 Find x such that f(x) = y
 f is easy to compute, hard to invert
 f is many-to-one s.t. f(x) = y with probability p
 Find solution:
 Try random choices for x
 Expected running time – O(1/p)
 Verify solution
 Compute f(x)
 Expected running time – O(1)
 Example: f = cryptographic hash function H
 Find x such that H(x) has k leading 0’s
▪ f(x) = first k bits of H [Hk], y = 0
 Difficulty: 2k
2011-12-01 Nikita Borisov - UIUC 4
Token btlcoin
 Coin: puzzle solution
 Forgeable, but only with computational effort
 “Value” proportional to puzzle difficulty (2k)
 E.g., cost of electricity needed to “mint” new coin
 Payment protocol:
 Alice->Bob: coin x
 Bob: compute Hk(x), verify = 0
 Bob->Alice: goods or services
2011-12-01 Nikita Borisov - UIUC 5
Token btlcoin
 Alice still has coin x after giving it to Bob!
 Alice->Bob: coin x
 Alice->Carol: coin x
 Alice->David: coin x
 Traditional e-cash solution: detection after
the fact
 Bob, Carol, David deposit x into the bank
 Bank realizes x has been double-spent, punishes
Alice
2011-12-01 Nikita Borisov - UIUC 6
Token btlcoin
 Transaction log
 For each coin x, lists who has it
 When coin first “minted”, claim it
 Append: “Alice found x”
 During a transaction, log transfer
 Bob verifies that Alice currently owns x
 Appends “Alice transfers x to Bob”
▪ (with proper signatures fromAlice, Bob)
 Now Bob is owner of x
2011-12-01 Nikita Borisov - UIUC 7
Token btlcoin
LOG 1
1. Alice mints x
2. Alice transfers x to Bob
3. Bob transfer x to Carol
4. Alice transfer x to David
— INVALID
Most recent owner: Carol
LOG 2
1. Alice mints x
2. Alice transfers x to David
3. Alice transfers x to Bob —
INVALID
4. Bob transfers x to Carol —
INVALID
Most recent owner: David
2011-12-01 Nikita Borisov - UIUC 8
Token btlcoin
 Centralized: single log
 Maintained by trusted bank
 Decentralized
 Run Paxos on a global scale??
 Bitcoin
 Proof of work, chains
2011-12-01 Nikita Borisov - UIUC 9
Token btlcoin
 Can incorporate data (z) into puzzle
 Find x such that H(x || z) has k 0 bits
 To append to log, must solve puzzle based on
existing log
 Format of log “line” n: Ln = M, x, where
 M: new message appended to log
 x: number such that Hk(x || M || Ln-1) = 0
2011-12-01 Nikita Borisov - UIUC 10
Token btlcoin
 Each line’s puzzle depends on the previous
one
 Ln -> Ln-1 -> … -> L1 -> L0
 To add m lines, must solve m puzzles
 Longest chain wins
2011-12-01 Nikita Borisov - UIUC 11
1 2 3
4’
4 5
6
6’
7
Token btlcoin
 Suppose r people try to append to a log
 Each person j has own message Mj
 Each tries to solve Hk(x || Mj || Ln-1) = 0
 As soon a someone finds a solution,
broadcasts† solution (Ln) to everyone
 Everyone else switches to searching for Ln+1
 I.e., solve Hk(x || Mj || Ln) = 0
 (why?)
† we’ll return to this later
2011-12-01 Nikita Borisov - UIUC 12
Token btlcoin
 Each person expects to solve puzzle/generate
new line in time t
 Among the r processes, log grows at the
speed of t/r per line
 Why?
 As more people participate
 r grows
 Log grows faster
 More difficult to revise history!
2011-12-01 Nikita Borisov - UIUC 13
Token btlcoin
 Security better if more people participated in
logging
 Incentivize users to log others’ transactions
 Transaction fees: pay me x% to log your data
 Mining: each log line creates bitcoins
▪ Replace “Alice minted x” entries with “Alice logged line Ln”
 Payment protocol:
 Alice->Bob: here’s coin x
 Broadcast to everyone:Alice transfers x to Bob
 Bob: wait until transfer appears in a new log line
▪ Optionally wait until a few more lines follow it
2011-12-01 Nikita Borisov - UIUC 14
Token btlcoin
2011-12-01 Nikita Borisov - UIUC 15
Alice generated
50 BTC
Nonce: 1234
Bob generated
50 BTC
Nonce: 5678
Carol generated
50 BTC
Alice transferred 10
BTC to Bob + 1 BTC
to Carol (fee)
Nonce: 9932
Account Balance
Alice 39 BTC
Bob 60 BTC
Carol 51 BTC
Hash HashHash
Token btlcoin
 How to set k?
 Too short: wasted effort due to broadcast delays & chain
splits
 Too long: slows down transactions
 Periodically adjust difficulty k such that one line gets
added every 10 minutes
 Determined algorithmically based on timestamps of
previous log entries
 Current difficulty
 p =
0.00000000000000021346267886168755062437085712190
31000509
 4684659657288133 expected hash computations to win
(4.7 quadrillion!)
2011-12-01 Nikita Borisov - UIUC 16
Token btlcoin

More Related Content

What's hot

Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer
炫成 林
 
Blockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John MaheswaranBlockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John Maheswaran
John M.
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space Commerce
Hasshi Sudler
 
Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
Arnold Pham
 
Tmc mastering bitcoins ppt
Tmc mastering bitcoins pptTmc mastering bitcoins ppt
Tmc mastering bitcoins ppt
Urvashi Choudhary
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.js
Felix Crisan
 

What's hot (6)

Ethereum Web3.js - Some tips for the developer
Ethereum Web3.js - Some  tips  for  the developer Ethereum Web3.js - Some  tips  for  the developer
Ethereum Web3.js - Some tips for the developer
 
Blockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John MaheswaranBlockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John Maheswaran
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space Commerce
 
Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract Tutorial
 
Tmc mastering bitcoins ppt
Tmc mastering bitcoins pptTmc mastering bitcoins ppt
Tmc mastering bitcoins ppt
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.js
 

Similar to Token btlcoin money

Token btlcoin btlcoin
Token btlcoin btlcoinToken btlcoin btlcoin
Token btlcoin btlcoin
btlcoin token
 
Token btlcoin
Token btlcoinToken btlcoin
Token btlcoin
btlcoin token
 
Smart contracts and applications part I
Smart contracts and applications   part ISmart contracts and applications   part I
Smart contracts and applications part I
vpnmentor
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
QuasarVentures
 
Bitcoin
BitcoinBitcoin
Bitcoin
Matt Sheppard
 
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
Codemotion
 
The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
Davide Carboni
 
How to explain bitcoin to your mother
How to explain bitcoin to your motherHow to explain bitcoin to your mother
How to explain bitcoin to your mother
Philippe Camacho, Ph.D.
 
theorycoin.pptx
theorycoin.pptxtheorycoin.pptx
theorycoin.pptx
Ana Fiena
 
Intro to Bitcoin
Intro to BitcoinIntro to Bitcoin
Intro to Bitcoin
Ron Gross
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptx
FaiZiTricks
 
Jon Bing Memorial Seminar
Jon Bing Memorial SeminarJon Bing Memorial Seminar
Jon Bing Memorial Seminar
Vestforsk.no
 
Blockchain presentation
Blockchain presentationBlockchain presentation
Blockchain presentation
KouTon
 
Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
Li Haidong, Bounty investment Holdings Ltd, Li Haidong SingaporeLi Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
Li Haidong
 

Similar to Token btlcoin money (14)

Token btlcoin btlcoin
Token btlcoin btlcoinToken btlcoin btlcoin
Token btlcoin btlcoin
 
Token btlcoin
Token btlcoinToken btlcoin
Token btlcoin
 
Smart contracts and applications part I
Smart contracts and applications   part ISmart contracts and applications   part I
Smart contracts and applications part I
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential Opportunities
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
Upgrading the Bitcoin protocol - Simone Bronzini - Codemotion Rome 2018
 
The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)
 
How to explain bitcoin to your mother
How to explain bitcoin to your motherHow to explain bitcoin to your mother
How to explain bitcoin to your mother
 
theorycoin.pptx
theorycoin.pptxtheorycoin.pptx
theorycoin.pptx
 
Intro to Bitcoin
Intro to BitcoinIntro to Bitcoin
Intro to Bitcoin
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptx
 
Jon Bing Memorial Seminar
Jon Bing Memorial SeminarJon Bing Memorial Seminar
Jon Bing Memorial Seminar
 
Blockchain presentation
Blockchain presentationBlockchain presentation
Blockchain presentation
 
Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
Li Haidong, Bounty investment Holdings Ltd, Li Haidong SingaporeLi Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
Li Haidong, Bounty investment Holdings Ltd, Li Haidong Singapore
 

More from btlcoin token

Global payments community 2017
Global payments community 2017Global payments community 2017
Global payments community 2017
btlcoin token
 
Coin token ico là gì
Coin token ico là gìCoin token ico là gì
Coin token ico là gì
btlcoin token
 
Coin token ico
Coin token icoCoin token ico
Coin token ico
btlcoin token
 
Electronic money
Electronic moneyElectronic money
Electronic money
btlcoin token
 
Electronic money
Electronic moneyElectronic money
Electronic money
btlcoin token
 
electronic money
electronic moneyelectronic money
electronic money
btlcoin token
 
Coin token ico lionscoin
Coin token ico lionscoinCoin token ico lionscoin
Coin token ico lionscoin
btlcoin token
 
Coin token ico
Coin token icoCoin token ico
Coin token ico
btlcoin token
 
Global payments community
Global payments communityGlobal payments community
Global payments community
btlcoin token
 
Btlcoin token electronic money
Btlcoin token electronic moneyBtlcoin token electronic money
Btlcoin token electronic money
btlcoin token
 
Token btlcoin electronic money
Token btlcoin electronic moneyToken btlcoin electronic money
Token btlcoin electronic money
btlcoin token
 
Btlcoin token money lionscoin
Btlcoin token money lionscoinBtlcoin token money lionscoin
Btlcoin token money lionscoin
btlcoin token
 
Btlcoin token
Btlcoin tokenBtlcoin token
Btlcoin token
btlcoin token
 
Btlcoin token money
Btlcoin token moneyBtlcoin token money
Btlcoin token money
btlcoin token
 
btlcoin token
btlcoin tokenbtlcoin token
btlcoin token
btlcoin token
 
btl mastercard
btl mastercardbtl mastercard
btl mastercard
btlcoin token
 
Btl mastercard
Btl mastercardBtl mastercard
Btl mastercard
btlcoin token
 
Electronic money basics
Electronic money basicsElectronic money basics
Electronic money basics
btlcoin token
 
Bitcoin electronic money
Bitcoin electronic moneyBitcoin electronic money
Bitcoin electronic money
btlcoin token
 
Electronic money btlcoin
Electronic money btlcoinElectronic money btlcoin
Electronic money btlcoin
btlcoin token
 

More from btlcoin token (20)

Global payments community 2017
Global payments community 2017Global payments community 2017
Global payments community 2017
 
Coin token ico là gì
Coin token ico là gìCoin token ico là gì
Coin token ico là gì
 
Coin token ico
Coin token icoCoin token ico
Coin token ico
 
Electronic money
Electronic moneyElectronic money
Electronic money
 
Electronic money
Electronic moneyElectronic money
Electronic money
 
electronic money
electronic moneyelectronic money
electronic money
 
Coin token ico lionscoin
Coin token ico lionscoinCoin token ico lionscoin
Coin token ico lionscoin
 
Coin token ico
Coin token icoCoin token ico
Coin token ico
 
Global payments community
Global payments communityGlobal payments community
Global payments community
 
Btlcoin token electronic money
Btlcoin token electronic moneyBtlcoin token electronic money
Btlcoin token electronic money
 
Token btlcoin electronic money
Token btlcoin electronic moneyToken btlcoin electronic money
Token btlcoin electronic money
 
Btlcoin token money lionscoin
Btlcoin token money lionscoinBtlcoin token money lionscoin
Btlcoin token money lionscoin
 
Btlcoin token
Btlcoin tokenBtlcoin token
Btlcoin token
 
Btlcoin token money
Btlcoin token moneyBtlcoin token money
Btlcoin token money
 
btlcoin token
btlcoin tokenbtlcoin token
btlcoin token
 
btl mastercard
btl mastercardbtl mastercard
btl mastercard
 
Btl mastercard
Btl mastercardBtl mastercard
Btl mastercard
 
Electronic money basics
Electronic money basicsElectronic money basics
Electronic money basics
 
Bitcoin electronic money
Bitcoin electronic moneyBitcoin electronic money
Bitcoin electronic money
 
Electronic money btlcoin
Electronic money btlcoinElectronic money btlcoin
Electronic money btlcoin
 

Recently uploaded

[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
AanSulistiyo
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
ukwwuq
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
bseovas
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 

Recently uploaded (20)

[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 

Token btlcoin money

  • 1. CS425/CSE424/ECE428 — Distributed Systems — Fall 2011 2011-12-01 Nikita Borisov - UIUC 1 Token btlcoin
  • 2.  Two problems  Unforgeable electronic currency  Secure, globally unique names  Same underlying principle  Decentralized global timestamping service 2011-12-01 Nikita Borisov - UIUC 2 Token btlcoin
  • 3.  Create a digital currency that is  Unforgeable  Transferrable  Secure  Decentralized  `Traditional’ e-cash:  Coin =Token + signature of bank  Token btlcoin : eliminate the bank! 2011-12-01 Nikita Borisov - UIUC 3 Token btlcoin
  • 4.  Computational puzzle  Find x such that f(x) = y  f is easy to compute, hard to invert  f is many-to-one s.t. f(x) = y with probability p  Find solution:  Try random choices for x  Expected running time – O(1/p)  Verify solution  Compute f(x)  Expected running time – O(1)  Example: f = cryptographic hash function H  Find x such that H(x) has k leading 0’s ▪ f(x) = first k bits of H [Hk], y = 0  Difficulty: 2k 2011-12-01 Nikita Borisov - UIUC 4 Token btlcoin
  • 5.  Coin: puzzle solution  Forgeable, but only with computational effort  “Value” proportional to puzzle difficulty (2k)  E.g., cost of electricity needed to “mint” new coin  Payment protocol:  Alice->Bob: coin x  Bob: compute Hk(x), verify = 0  Bob->Alice: goods or services 2011-12-01 Nikita Borisov - UIUC 5 Token btlcoin
  • 6.  Alice still has coin x after giving it to Bob!  Alice->Bob: coin x  Alice->Carol: coin x  Alice->David: coin x  Traditional e-cash solution: detection after the fact  Bob, Carol, David deposit x into the bank  Bank realizes x has been double-spent, punishes Alice 2011-12-01 Nikita Borisov - UIUC 6 Token btlcoin
  • 7.  Transaction log  For each coin x, lists who has it  When coin first “minted”, claim it  Append: “Alice found x”  During a transaction, log transfer  Bob verifies that Alice currently owns x  Appends “Alice transfers x to Bob” ▪ (with proper signatures fromAlice, Bob)  Now Bob is owner of x 2011-12-01 Nikita Borisov - UIUC 7 Token btlcoin
  • 8. LOG 1 1. Alice mints x 2. Alice transfers x to Bob 3. Bob transfer x to Carol 4. Alice transfer x to David — INVALID Most recent owner: Carol LOG 2 1. Alice mints x 2. Alice transfers x to David 3. Alice transfers x to Bob — INVALID 4. Bob transfers x to Carol — INVALID Most recent owner: David 2011-12-01 Nikita Borisov - UIUC 8 Token btlcoin
  • 9.  Centralized: single log  Maintained by trusted bank  Decentralized  Run Paxos on a global scale??  Bitcoin  Proof of work, chains 2011-12-01 Nikita Borisov - UIUC 9 Token btlcoin
  • 10.  Can incorporate data (z) into puzzle  Find x such that H(x || z) has k 0 bits  To append to log, must solve puzzle based on existing log  Format of log “line” n: Ln = M, x, where  M: new message appended to log  x: number such that Hk(x || M || Ln-1) = 0 2011-12-01 Nikita Borisov - UIUC 10 Token btlcoin
  • 11.  Each line’s puzzle depends on the previous one  Ln -> Ln-1 -> … -> L1 -> L0  To add m lines, must solve m puzzles  Longest chain wins 2011-12-01 Nikita Borisov - UIUC 11 1 2 3 4’ 4 5 6 6’ 7 Token btlcoin
  • 12.  Suppose r people try to append to a log  Each person j has own message Mj  Each tries to solve Hk(x || Mj || Ln-1) = 0  As soon a someone finds a solution, broadcasts† solution (Ln) to everyone  Everyone else switches to searching for Ln+1  I.e., solve Hk(x || Mj || Ln) = 0  (why?) † we’ll return to this later 2011-12-01 Nikita Borisov - UIUC 12 Token btlcoin
  • 13.  Each person expects to solve puzzle/generate new line in time t  Among the r processes, log grows at the speed of t/r per line  Why?  As more people participate  r grows  Log grows faster  More difficult to revise history! 2011-12-01 Nikita Borisov - UIUC 13 Token btlcoin
  • 14.  Security better if more people participated in logging  Incentivize users to log others’ transactions  Transaction fees: pay me x% to log your data  Mining: each log line creates bitcoins ▪ Replace “Alice minted x” entries with “Alice logged line Ln”  Payment protocol:  Alice->Bob: here’s coin x  Broadcast to everyone:Alice transfers x to Bob  Bob: wait until transfer appears in a new log line ▪ Optionally wait until a few more lines follow it 2011-12-01 Nikita Borisov - UIUC 14 Token btlcoin
  • 15. 2011-12-01 Nikita Borisov - UIUC 15 Alice generated 50 BTC Nonce: 1234 Bob generated 50 BTC Nonce: 5678 Carol generated 50 BTC Alice transferred 10 BTC to Bob + 1 BTC to Carol (fee) Nonce: 9932 Account Balance Alice 39 BTC Bob 60 BTC Carol 51 BTC Hash HashHash Token btlcoin
  • 16.  How to set k?  Too short: wasted effort due to broadcast delays & chain splits  Too long: slows down transactions  Periodically adjust difficulty k such that one line gets added every 10 minutes  Determined algorithmically based on timestamps of previous log entries  Current difficulty  p = 0.00000000000000021346267886168755062437085712190 31000509  4684659657288133 expected hash computations to win (4.7 quadrillion!) 2011-12-01 Nikita Borisov - UIUC 16 Token btlcoin

Editor's Notes

  1. How well does this work?
  2. Also two people who “mint” x at the same time