bdxcoin - blockchain 101 - 09-04-2014

21
Bienvenue ! @BdxCoin

Upload: bdxcoin

Post on 29-Jan-2015

109 views

Category:

Technology


3 download

DESCRIPTION

Une description technique de la blockchain.

TRANSCRIPT

Page 1: BdxCoin -  Blockchain 101 - 09-04-2014

Bienvenue ! @BdxCoin

Page 2: BdxCoin -  Blockchain 101 - 09-04-2014

Blockchain 101Some tech flavors

Page 3: BdxCoin -  Blockchain 101 - 09-04-2014

● Yay, crypto !

● Bitcoins don’t exist

● The blockchain is Mining

Summary

Page 4: BdxCoin -  Blockchain 101 - 09-04-2014

because in cryptocurrency, there’s crypto

Yay, crypto !

Page 5: BdxCoin -  Blockchain 101 - 09-04-2014

What is a hash ?

data1

data2

data1

5b41362bc82b7f3d56e...

5b41362bc82b7f3d56e...

d98cf53e0c8b77c14a9...SHA-256

Page 6: BdxCoin -  Blockchain 101 - 09-04-2014

What is a Bitcoin address ?

Private key Public key

Wallet

Allows to spend Bitcoins :

Keep it secret !

Used to receive Bitcoins :

You can share it !

Page 7: BdxCoin -  Blockchain 101 - 09-04-2014

“My whole life is a lie” - everyone in this room

Bitcoins don’t exist

Page 8: BdxCoin -  Blockchain 101 - 09-04-2014

● There is no “bitcoin balance” stored

● Balances are computed from transaction history

Bitcoins are transactions

Page 9: BdxCoin -  Blockchain 101 - 09-04-2014

Transaction : simplified

transaction

input output

fee

5 BTC 4.99 BTC

0.01 BTC

Page 10: BdxCoin -  Blockchain 101 - 09-04-2014

Transaction : less simplified

transaction ID

inputs output

fee

4 BTC 4.5 BTC

0.01 BTC

1 BTC

change0.49 BTC

Page 11: BdxCoin -  Blockchain 101 - 09-04-2014

Transactions are grouped in blocks

transaction

transaction

transaction

transaction

Block

reward transaction

Page 12: BdxCoin -  Blockchain 101 - 09-04-2014

Blocks are chained in...

block

block

block

block

Blockchain !

Page 13: BdxCoin -  Blockchain 101 - 09-04-2014

time to turn off your heating system

Blockchain is mining

Page 14: BdxCoin -  Blockchain 101 - 09-04-2014

● Need to make sure blocks are not altered

● -> Let’s hash them !

Avoiding double spending

Page 15: BdxCoin -  Blockchain 101 - 09-04-2014

● Hash the block to make sure it wasn’t altered

● Include hash of the previous block to make sure all the previous blocks weren’t altered !

Block hashing

Page 16: BdxCoin -  Blockchain 101 - 09-04-2014

Block hashing

block

hash

block

hash

Page 17: BdxCoin -  Blockchain 101 - 09-04-2014

A simple hash is very fast to make : one can fork the blockchain

Problem :

Page 18: BdxCoin -  Blockchain 101 - 09-04-2014

● Let’s add some difficulty

● The block hash must meet certain requirements

● Difficulty regulates block generation speed

Proof of Work

Page 19: BdxCoin -  Blockchain 101 - 09-04-2014

● Miners try to find a valid block hash

● The first to find it broadcasts it, and gets the reward + the fees

● Without miners, no blockchain

Mining

Page 20: BdxCoin -  Blockchain 101 - 09-04-2014

● bitcoin.pdf

● en.bitcoin.it/wiki/Category:Technical

● live blockchain monitor : blockchain.info

More tech details ?

Page 21: BdxCoin -  Blockchain 101 - 09-04-2014

Thank you !