bitcoin twitcam 21 dic-2013

47
DEC 2013 Sebastián Bassi BITCOINS The p2p currency

Upload: sebastian-bassi

Post on 08-Jul-2015

294 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bitcoin twitcam 21 dic-2013

DEC 2013

Sebastián Bassi

BITCOINS The p2p currency

Page 2: Bitcoin twitcam 21 dic-2013

● ¿Trueque?● Economía de regalo● Basada en comodities● Representativa ● Fiduciaria (FIAT)

Historia

Page 3: Bitcoin twitcam 21 dic-2013

¿Qué es el dinero?

A medium that can be exchanged for goods and services and is used as a measure of their values on the market

Funciones principales:● Medium of exchange● Unit of account● Store of value

What is a good currency?

Page 4: Bitcoin twitcam 21 dic-2013

Algunas características comunes

Oro Euro/Dolar

Escasez ++ +

Portable -- +

Fungible ++ ++

Verificable + +

Divisible + ++

Privacidad ++ ++

Adopción + ++

Page 5: Bitcoin twitcam 21 dic-2013

Bitcoin

● Moneda electrónica● Ninguna autoridad central● Algunas propiedades son comunes a otras monedas físicas (escasez,

portable, fungible, divisible, verificable)● Transferencias Irreversibles (por defecto)● Basada en Criptografía

Author: Satoshi Nakamoto (alias)

Page 6: Bitcoin twitcam 21 dic-2013

Bitcoin

● The coin is a string produced out of a mathematical operation (hash collision).

● Electronic transfer are signed with the private key of the sender, the public key of the recipient and message content. They are publically announced..

● Self-regulated mechanisms to avoid double spend and coin overproduction.

Page 7: Bitcoin twitcam 21 dic-2013

Bitcoin is decentralized

● There is no Bitcoin Inc behind Bitcoin● No central issues (such as Fed)● Uses free and open software and protocols● P2P networking● Different functions for each node component● Trust is not needed (each party is assumed as no trustable)

Page 8: Bitcoin twitcam 21 dic-2013
Page 9: Bitcoin twitcam 21 dic-2013
Page 10: Bitcoin twitcam 21 dic-2013
Page 11: Bitcoin twitcam 21 dic-2013

Minado

A hash (SHA256) is applied to the block header of previous transactionsA new header is search, it should have a collision with previous header.Who finds the hash first, shows its “proof of works” (POW) and process current transactions.The miner is rewarded a BTC block (currently 25 BTC) + commissions related to transactions in the new block.

Page 12: Bitcoin twitcam 21 dic-2013

Minado (II)

Consecuencias del minado:No se crea algo “de la nada”, hay inversión (en energía) para crear BTC.Ayuda a confirmar las transacciones al incorporarlas al “blockchain” (el resto de los nodos replican esta información)If there are more than one conformation event, most complex is chosen (with more leading 0s). At same complexity, longest resulted chain is chosen.

Page 13: Bitcoin twitcam 21 dic-2013

Minado (III)

Block

1

Block

2

Block

3

Block

4(a)

Block

4(b)

Block

4(c)

Page 14: Bitcoin twitcam 21 dic-2013

Minado (III)

Block

1

Block

2

Block

3

Block

4(a)

Block

4(b)

Block

4(c)

Block

5 (a)

Block

5 (c)

Block

6 (c)

Page 15: Bitcoin twitcam 21 dic-2013

Minado (III)

Block

1

Block

2

Block

3

Block

4(c)

Block

5 (c)

Block

6 (c)

Block

4(a)

Block

4(b)

Block

5 (a)

Regresan al “pool” de transacciones sin confirmar

Page 16: Bitcoin twitcam 21 dic-2013

Minado (III)

Block

1

Block

2

Block

3

Block

4

Block

5

Block

6

Page 17: Bitcoin twitcam 21 dic-2013

Mining hardware (hw)

Typical speedsPerformance is measured in MH/s (Mega Hash / sec).CPU: 10MH/sGPU: 1.GH/sFPGA: 2GH/sASIC: 40GH/s (up to 600GH/s or 7,8GH/s/$)

Page 18: Bitcoin twitcam 21 dic-2013

Current hash rate

Page 19: Bitcoin twitcam 21 dic-2013

“Encontrando” BTC

Evento discreto, aleatorio (Poison).Si la tasa de hash (HW) es 1 block/mes, lo más probable es encontrar entre 0 y 3 block /month.El riesgo puede ser distribuido usando “pooles de mining” o “contratos de mining”.

Page 20: Bitcoin twitcam 21 dic-2013

Ajuste de dificultad

Variación de cantidad de colisiones requeridas cada 2 semanas (ratio de bloque c/10 min).Ajuste a la mitad la recompensa cada 240.000 bloques encontrados (aprox. 4 años), actualmente 25 BTC.

Page 21: Bitcoin twitcam 21 dic-2013

Issued BTC

Page 22: Bitcoin twitcam 21 dic-2013

Inflación esperada

Page 23: Bitcoin twitcam 21 dic-2013

Chances

D = Tmax/Tcurr

Chances to validate a block: 1/(232D)

Chances to find a block: t.h/(232D)

Page 24: Bitcoin twitcam 21 dic-2013

Minar

● Minar BTC no es un fin en sí mismo.● Valida transacciones y distribuye BTC iniciales.● El usuario final no necesita minar (pero necesita de los mineros).

Page 25: Bitcoin twitcam 21 dic-2013

Some common characteristics

Gold Euro/Dollar BTC

Scarce ++ + +++

Portable -- + +++

Fungible ++ ++ +++

Verifiable + + +++

Divisible + ++ +++

Privacy ++ ++ ++

Adoptation + ++ -

Page 26: Bitcoin twitcam 21 dic-2013

End user view of the process

Para tener BTC, necesitas una billetera Bitcoin (“bitcoin wallet”).

Clases de billeteras bitcoin:● Local Software (bitcoinQT, Multicoin)● Online wallets (blockchain.info, coinbase)● Paper wallet.

Page 27: Bitcoin twitcam 21 dic-2013

Características comunes bitcoin wallet

It has a public key that can be represented with a string or a QR code:

14StEEKsS4LvugspYVBxzQudg2gGWU5rVC

(there are 2160 “wallets”, grains of sand comparison)

The private key is needed to auth BTC transfers.

Page 28: Bitcoin twitcam 21 dic-2013

other features...

Online wallets are not recommended by security conscious people (there were lot of cases of stolen BTC and scams)Software Wallets in most cases are not so easy to use, mobile version tends to be easier to use than PC versions.Paper Wallet is safest but hardest to use (not take advantage of some dinamic features of BTC)

Page 29: Bitcoin twitcam 21 dic-2013

Software wallet

Page 30: Bitcoin twitcam 21 dic-2013

Software wallet

Page 31: Bitcoin twitcam 21 dic-2013

Software wallet

Page 32: Bitcoin twitcam 21 dic-2013

Online wallet

Page 33: Bitcoin twitcam 21 dic-2013
Page 34: Bitcoin twitcam 21 dic-2013

Paper wallets

Page 35: Bitcoin twitcam 21 dic-2013

Otros componentes de la red de BTC : Exchanges

Lugares donde se intercambia BTC por dinero FIAT, normalmente con cuentas bancarias. Casi nunca se pueden usar tarjetas de crédito para comprar BTC.

Coinbase (financiado por YCombinator), MT. gox, BTC-e, BTC China

Page 36: Bitcoin twitcam 21 dic-2013

Una transacción típica (I)

Encontrá un comerciante que acepte BTC:

Page 37: Bitcoin twitcam 21 dic-2013

Una transacción típica (II)

Abrí tu wallet (phone, tablet).

Page 38: Bitcoin twitcam 21 dic-2013

Una transacción típica (III)

Escaneá el QR o tipea la clave pública

Este QR retorna:14StEEKsS4LvugspYVBxzQudg2gGWU5rVC

Page 39: Bitcoin twitcam 21 dic-2013

Una transacción típica (IV)

Enviar BTC

Page 40: Bitcoin twitcam 21 dic-2013

Una transacción típica (V)

Page 41: Bitcoin twitcam 21 dic-2013

Value

Page 42: Bitcoin twitcam 21 dic-2013

Technical analysis

Page 43: Bitcoin twitcam 21 dic-2013

Alt-coins

(Cuidado con las “Scam-coins”)

Page 44: Bitcoin twitcam 21 dic-2013

Alt-coins cryptocurrency

alt-coins is a kind of cryptocurrency that had some differences from BTC in technical or social aspects.Is where BTC innovation is tested.Ex.: Difficulty change, hash algorithm, confirmation time, uses.

Page 45: Bitcoin twitcam 21 dic-2013

Algunas FAQ

● ¿Quien respalda BTC? ¿Por que se elige una moneda por sobre otra?● ¿Es esto un esquema piramidal? ¿Es esto una burbuja financiera?● Si el BTC se hace muy valioso, ¿no será poco práctico como unidad de medida?● ¿Es realmente anónima?● ¿Si se usa es usado por terroristas y narcos, no van a decir que el ecosistema de BTC es ilegal?● ¿Cual fue la reacción del sistema financiero al BTC?● ¿Cúal fue la rección del estado?● ¿Qué pasa si es encuentra una falla en el SHA-256?● ¿Puede escalar?● ¿Qué puedo comprar con bitcoins? (http://techcrunch.com/2013/11/28/over-400-retailers-are-offering-deals-on-new-

bitcoin-black-friday-website/)

Page 46: Bitcoin twitcam 21 dic-2013

Kiosko de revistas en Buenos Aires donde se acepta Bitcoins

En la entrada de Parque Chas. Gandara y Triunvirato. (Triunvirato 3900)

Page 47: Bitcoin twitcam 21 dic-2013

More information and sources

Technical information: https://en.bitcoin.it/wiki/Category:Technical and http://bitcoin.org/en/developmentBitcoin talk: https://bitcointalk.org/JP Morgan patent: http://www.businessinsider.com/debunking-jp-morgan-bitcoin-2013-12Hardware: http://www.bitcoinx.com/bitcoin-mining-hardware/Video: https://www.youtube.com/watch?v=Lx9zgZCMqXEAbout security: http://techcrunch.com/2013/12/17/foundation-brian-armstrong-on-coinbase-and-bitcoin-security/

Tutorial: http://zen.lk/2013/11/28/how-i-finally-understood-bitcoin/Book (in Spanish): Bitcoin, la moneda del futuro (elbitcoin.org)Presentation: http://www.slideshare.net/ripper234/what-is-mining-by-meni-rosenfeldWikipedia articles: https://en.wikipedia.org/wiki/Money and https://en.wikipedia.org/wiki/History_of_moneySatoshi paper: http://bitcoin.org/bitcoin.pdfMineria de btc en Islandia: http://dealbook.nytimes.com/2013/12/21/into-the-bitcoin-mines/?ref=technology&_r=0

Get some bitcoins to play with: http://freebitco.in/?r=42617