SlideShare a Scribd company logo
1 of 16
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 MaheswaranJohn 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 CommerceHasshi Sudler
 
Ethereum Smart Contract Tutorial
Ethereum Smart Contract TutorialEthereum Smart Contract Tutorial
Ethereum Smart Contract TutorialArnold Pham
 
Smart contracts using web3.js
Smart contracts using web3.jsSmart contracts using web3.js
Smart contracts using web3.jsFelix 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 electronic money

Token btlcoin btlcoin
Token btlcoin btlcoinToken btlcoin btlcoin
Token btlcoin btlcoinbtlcoin token
 
Smart contracts and applications part I
Smart contracts and applications   part ISmart contracts and applications   part I
Smart contracts and applications part Ivpnmentor
 
Bitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesBitcoin - Understanding and Assessing potential Opportunities
Bitcoin - Understanding and Assessing potential OpportunitiesQuasarVentures
 
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 2018Codemotion
 
The Bitcoin blockchain (en)
The Bitcoin blockchain (en)The Bitcoin blockchain (en)
The Bitcoin blockchain (en)Davide Carboni
 
theorycoin.pptx
theorycoin.pptxtheorycoin.pptx
theorycoin.pptxAna Fiena
 
Intro to Bitcoin
Intro to BitcoinIntro to Bitcoin
Intro to BitcoinRon Gross
 
PRESENTATION.pptx
PRESENTATION.pptxPRESENTATION.pptx
PRESENTATION.pptxFaiZiTricks
 
Jon Bing Memorial Seminar
Jon Bing Memorial SeminarJon Bing Memorial Seminar
Jon Bing Memorial SeminarVestforsk.no
 
Blockchain presentation
Blockchain presentationBlockchain presentation
Blockchain presentationKouTon
 
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 SingaporeLi Haidong
 

Similar to Token btlcoin electronic 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

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 money
Token btlcoin moneyToken btlcoin money
Token btlcoin 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

Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Delhi Call girls
 
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft DatingDubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Datingkojalkojal131
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceEscorts Call Girls
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubaikojalkojal131
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...SUHANI PANDEY
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.soniya singh
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...SUHANI PANDEY
 

Recently uploaded (20)

Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft DatingDubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
Dubai Call Girls Milky O525547819 Call Girls Dubai Soft Dating
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts ServiceReal Escorts in Al Nahda +971524965298 Dubai Escorts Service
Real Escorts in Al Nahda +971524965298 Dubai Escorts Service
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Rani Bagh Escort Service Delhi N.C.R.
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 

Token btlcoin electronic 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