Image ©carbonism

Dionysis Zindros National Technical University of Athens 2012

What is bitcoin? • Digital currency • For real online payments • Replacement (?) for € and $

History • Wei Dai, 1998: “Bmoney” (cypherpunks) • Satoshi Nakamoto, 2009: ”Bitcoin: A Peer-toPeer Electronic Cash System" • 2009: bitcoind open source client in C++

Problem: Online payments • • • • • • •

A trusted authority is required Payments with credit cards e.g. Visa, MasterCard Or services such as PayPal No anonymity Cost for the services Can’t make very small transactions

Problem • People dislike central control • € and $ are centrally controlled • Government control of the economy may be undesired • Centrally controlled inflation Many people do not trust their government for managing the economy.

Problem • • • • •

We could use gold – objective value Hard to use Slow Inconvenient Dangerous

Solution • A digital currency: bitcoin • Peer-to-peer network

Advantages • • • • •

Fast payments (< 10’) No central authority Free market exchange rates Secure transactions Anonymity

Disadvantages? From a government perspective… • People are going to use bitcoin anyway – bitcoin is a fundamentally good idea – hard to illegalize

• Hard to track – People don’t want to be tracked by governments

• Bad things can happen – Fraud – Money laundering – Illegal transactions (drugs, guns, …)

• Can a government… – Ensure safety and security? – Avoid fraud? – Maintain a growing economy for the nation?

Purpose of this talk • Present bitcoin as it is today • Illustrate what it is from the point of its creators and users – What problems it solves and how

• Discuss with you how the government fits into this scheme – In an evolving crypto-economy – What can a government do?

From a government perspective… • bitcoin creators & users don’t like governments • Bitcoin is inherently an economy based on anarchy • Many governments don’t like bitcoin – China made it illegal in 2009

• • • • •

But a government needs to know what bitcoin is It cannot be ignored It cannot be easily illegalized bitcoin creates problems for the government? We need to discuss how to solve them

The basic idea • Modern currencies $ and € • They’re virtual – no real value • They can be any object – …providing it cannot be cloned

• We agree, as a nation, to make a piece of paper into a currency This doesn’t inherently require a central authority!

Image ©FL1P51D3

...cryptography replaces central authorities

The bitcoin peer-to-peer network Peter

Dio

Ares

George Alex

Maria

Helen

Nick

Stathis Kosta

Authentication • Every node has a private/public key • This ensures that whoever has the money, it’s them who make payments • Public key is broadcasted to the network • Private key is stored locally on the node

Bob

Alice

Has 12BTC

Has 0BTC

m  “Send 12BTC to Alice” h  H(m) s  signSB( h ) s Has 0BTC

verifyPB( h ) Has 12BTC

Validity • How do we ensure that the coin came from a valid source and is not self-made?

Who has what • The network stores collectively who has how much money • Everyone knows how rich Bob is • Everyone knows how rich Alice is • Therefore: Bob cannot send money he doesn’t have • To give money, I have to have received it

Broadcasting • Every transaction is published to the network • Whenever I send or receive money, I communicate it to my neighbors

Peter

Dio

Ares

George Alex

Maria

Helen

Nick

Stathis Kosta

Anonymity • For every transaction the participants use a new private key • The nodes don’t have names – only keys

Anonymity #312

#152

#137

5BTC

5BTC

#222

#111 2BTC

#555 2BTC

Is it the same person?

Charlie

Bob

Generates a new key for this transaction PC, SC

Uses the key with which he received the money PB, SB

verPA( s2 )

m1  “12BTC to PA” h1  H( m1 ) s1  signSB( h1 )

Alice Generates a new key for this transaction PA, SA verPB( s1 ) m2  “12BTC to PC” h2  H( m2 )

s2  signSA( h2 )

Currency • The measure according to which financial values are expressed or valuated. • A chain of digital signatures.

… coin1  signS0( H( coin0 || P1 ) ) coin2  signS1( H( coin1 || P2 ) ) coin3  signS2( H( coin2 || P3 ) ) …

Image ©1Dyslexia1

Currency = Chain of digital signatures

Image ©Satoshi Nakamoto

Double spending Peter Eve

Nick

Double spending • Undesired • How can we avoid it? Valid transactions = Transactions that have not been acted out >= twice?

This would mean I can cancel a transaction I don’t like!

Cancelling a transaction • • • • • • •

Bob pays 1BTC to Alice for a cup of coffee Alice delivers the cup of coffee to Bob Bob pays the same 1BTC to Charlie Charlie rejects the transfer The network considers both transactions invalid Alice loses her money Bob loses his money too – but he doesn’t care

We need a better way to prevent double spending!

The arrow of time • Valid is the first transaction in the chain • Later transactions are invalid

The arrow of time • When did a transaction take place? • I cannot trust a signature • The date may be forged

Blocks • Recent transactions are accumulated into a block • Calculate the hash of each block • Every new block includes the hash of its previous block • Every block is published • Every next block is in the future with respect to its previous block – Otherwise it could not have known its hash

Image ©Satoshi Nakamoto

Proof of work • We cannot just publish blocks – We’d need a trusted party

• Blocks are calculated at the node level and broadcasted • We introduce an artificial difficulty to block generation • It’s hard to generate a block

Image ©Satoshi Nakamoto

nonce  000000 while H( block || nonce ) ≠ “000000”: nonce  nonce + 1

broadcast( block )

Proof of work

genesis (2009)

Image ©theymos

• Each block validates the transactions it includes • A block chain is generated • Every valid block inherits from genesis

today

Proof of work • All nodes try to generate the block • The first node to do so publishes • The next block continues from there

Transaction validation • A transaction is validated when included in the next block • It becomes exponentially difficult to construct fraudulent blocks as time passes • Every next block secures all previous blocks • A transaction change incurs a change in all the next blocks

Transaction validation • An adversary would need the majority of the network CPU to alter the chain • Altering becomes exponentially harder as a transaction becomes validated by more and more blocks

Bitcoin mining • Block generation = bitcoin earnings for the lucky CPU • Controlled, mathematically predictable inflation

Image ©theymos

Technical details • Digital signatures – Based on Elgamal (DSA) – Using elliptic curves

• Hash function – SHA256( SHA256( _ ) )

• Work function – SHA256( _ )

Bitcoin today 25 March 2012: • 172,000 blocks • 1BTC = 3.40€ • 8,642,700 BTC in circulation • ~29,000,000€ in value • Network hashing frequency: > 10THz

Thank you! Questions?

These slides are: CreativeCommons 3.0 Attribution

bitcoin.org Twitter: @dionyziz

Dionysis Zindros National Technical University of Athens 2012 - GitHub

History. • Wei Dai, 1998: “Bmoney” (cypherpunks). • Satoshi Nakamoto, 2009: ”Bitcoin: A Peer-to-. Peer Electronic Cash System". • 2009: bitcoind open source ...

1MB Sizes 10 Downloads 204 Views

Recommend Documents

Punjab Technical University Computer Science & Engineering 2012 ...
D) Selection Sort. 28.The average waiting time for non-preemptive SJF. scheduling for the following process is. P1-1 minute P2-20 minute P3-10 minute. A) 7 minute. B) 4 minute. C) 10.6 minute. D) 11 minute. 3. Page 3 of 9. Main menu. Displaying Punja

university of stellenbosch - GitHub
the degrei. BACHELOR OF SCIENCE WITH HONOURS. (BScHons). (Computer Science) with all the rishts and privilepes pertaininp thereto was conferred on.

Punjab Technical University Applied Science (Physics) 2012.pdf ...
molecule. (d) Barrier penetration of electrons in the. tunnel diode. (d) all of above. Q. 16 For purely ... Hamiltonian, then it is a quantum mechanical. (a) dynamical ...

Timon of Athens
Their services to Lord Timon: his large fortune. Upon his good ...... Feast-won, fast-lost; one cloud of winter showers,. These flies ... Secure thy heart;. If I would ...

Technical Drawing - GitHub
Page 1. Page 2. 38.67 ). 22.30. 26.37. Page 3. Page 4. 2.05 。.25. 4.92. 0.75. 「. 4.50. 「 2.85. P。RT AND SW_T〔H. DETA_L. PPPPP. Page 5.

Technical Drawing - GitHub
Jan 19, 2017 - SD CARD DETAIL. (OMEGA2+ ONLY). D. C. B. A. A. B. C. D. 1. 2. 3. 4. 5. 6. 7. 8. 8. 7. 6. 5. 4. 3. 2. 1. OMEGA2. TITLE. DIMENSION IN MM.

IARC Technical Paper - GitHub
May 28, 2017 - The teams big break came after reaching out to Dr. Maruthi Akella. ... tracks the Roombas as well as keeps its global position using data taken .... studier/emner/matnat/ifi/INF4300/h09/undervisningsmateriale/hough09.pdf.

ordinances - Uttarakhand Technical University
Banking and Insurance Law iii) Labour / Employment Law iv) Company Law v). Intellectual Property law vi) Cyber Law. II. (Criminal and Security Law) i).

Athens StepUp Scholarship Application Athens ...
StepUp Scholarship Program. Mail the application along with your essay to: Athens StepUp Scholarship PO Box 49926 Athens, Georgia 30604 or Email your ...

Athens Drive High School Attendance Policies Attendance at Athens ...
Observance; and (7) Educational Opportunity. Please note that Educational Opportunities require approval from the principal prior the absences. See the School Attendance & Student Accounting document published by the Department of Public. Instruction

national university
Identification Method and Inventory Cost Flow Assumption (FIFO, LIFO and Average. Cost). 6. Accounting Systems and Special Ledgers: Manual and Computerized Accounting. Systems and their effectiveness-The Voucher System-General Ledgers and Subsidiary.

Timon of Athens
Infects one comma in the course I hold;. But flies an ... OLD ATHENIAN Most noble Timon, call the man before thee. ... And you shall find I like it: wait attendance.

JEE(Mains) - Rajasthan Technical University
UNIVERSITY COLLEGE OF ENGINEERING, KOTA ... fu/kkZfjr Qhl ds Bank Draft DD in FAVOR OF "RAJASTHAN TECHNICAL UNIVERSITY KOTA" ds lkFk ysdj ...

slybus --hm - Uttarakhand Technical University
Introduction to software. ..... (vi) Handling Guest accounting through software ...... The process of setting up a small business: Preliminary screening and aspects.

slybus --hm - Uttarakhand Technical University
10. BHM-110. COMPUTER APPLICATION PRACTICAL. 2. 25. 25. 50. 11 ..... Basics of Web Hosting. ...... Supervision, middle management, top management.

JEE(Mains) - Rajasthan Technical University
fu/kkZfjr Qhl ds Bank Draft DD in FAVOR OF "RAJASTHAN TECHNICAL .... transfer this amount to ECKAA fund at the time of completion of my degree course.

Athens-All-Charts_Report.pdf
Athens-All-Charts_Report.pdf. Athens-All-Charts_Report.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Athens-All-Charts_Report.pdf. Page 1 of ...

jaipur national university -
(a) Indian Teams must make payment by Online Payment/Demand Draft. The .... the Panel. (b) No Team shall reserve more than 5 minutes for Rebuttals.

Admission of Foreign National to Bangladesh University of ...
Admission of Foreign National to Bangladesh Universi ... y's (BUET) Undergraduate Program for AY 217-2018.pdf. Admission of Foreign National to Bangladesh ...

Research Engineer Technical Skills Recent Professional ... - GitHub
Page 1 ... Engineer at agri esprit – Developed rich web interfaces using common lisp and modern javascript. 2012 - 2013-06. ¯ Engineer at ... 2010 - 2012. ¯ Research Engineer – Helped build the R&D team at neoway and led it in creating a.

man-78\technical-university-of-mombasa-application-form.pdf ...
man-78\technical-university-of-mombasa-application-form.pdf. man-78\technical-university-of-mombasa-application-form.pdf. Open. Extract. Open with. Sign In.