Introduction

De Bitcoin Wiki
Révision datée du 23 mars 2013 à 01:35 par Twix (discussion | contributions) (Première ébauche et début de traduction)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

Le but de cette page est de fournir une vue d'ensemble sur le système Bitcoin et son économie.

Concepts de base

Monnaie

Alice veux acheter les chaussettes en Alpaga que Bob met en vente En retour, elle doit donner quelque chose de valeur égale à Bob. La manière la plus efficace de réaliser cet échange est d'utiliser un medium d'échange qui permet d'éviter la coincidence des besoins nécessaire dans d'autres systèmes d'échanges tels que le troc. L'adoption de la monnaie et son acceptation peux être globale, nationale, ou dans certains cas locale ou limitée à une communeauté.

Banques

Alice n'a pas besoin de donner de la monnaie à Bob en personne. Elle peut être préfer transférer cette valeur en faisant confiance à une banque qui lui promet de stocker et protéger ses fonds. La banque lui fournit une promesse écrite (nommée "relevé bancaire") qui lui donne le droit de retirer la même quantité de monnaie qu'elle a déposé. Vu que la monnaie appartient toujours à Alice, elle est autorisée à en faire ce qu'elle veut, et la banque (comme la majorité des banques), moyennant un petit supplément, va lui rendre le serivce de transférer les billets de devise à Bob en son nom. Cela est réalisé par la banque d'Alice qui donne les billet de devise à la banque de Bob et les informe que cette argent est pour Bob, qui verra son compte augmenté la prochaine fois qu'il regarde son sole ou reçoit son relevé bancaire.

Comme les banques ont de nombreux clients, et que leurs employés ont besoin d'argent pour réaliser le travail de parler aux personnes et signer des documents, elles ont recours actuellement à des machines telles que les Guichet automatique bancaire et des serveurs web pour intéragir avec les clients à la place d'employés payés. La tâche de ces machine est de comprendre ce que les clients veulent faire avec leur monnaie et, dans la limite du possible agir en fonction (par exemple les GAB peuvent donner du liquide). Les clients peuvent à tout moment savoir combien d'argent ils ont dans leur comptes, et sont confiants sur le fait que les nombres qu'ils voient dans leur relevés bancaires et leurs écrans reflètent correctement la somme d'argent qu'ils pourraient obtenir de leur banque sous demande. Ils peuvent être si surs de ça qu'ils peuvent accepter ces nombres de la même manière qu'ils acceptent des billets de devise (de la même manière que les gens ont commencé à accepter des billets de francs alors qu'ils acceptaient avant de l'or ou de l'argent).

Un tel système a plusieurs inconvénients :

  • Il est couteux. Les virements bancaires en Europe peuvent coûter 25 euros. Créditer un compte peux côuter plusieurs pourcents de la transaction.
  • Il est lent. Émettre des chèques et faire des transaction internationales peut prendre plusieurs jours.
  • Dans la majorité des cas, l'anonymat n'est pas possible.
  • Les comptes peuvent être figés.
  • Les banques et les services de paiement comme Paypal, Visa et Mastergard peuvent refuser refuser de traiter des transactions pour des personnes morales.

Bitcoin est un système de propriété et de transfert volontaires de bitcoins, d'une manière semblable aux banqu en-ligne, mais sur base de pseudonymat et sans dépendance vis-à-vis d'une autorité centrale pour maintenir les soldes des comptes. Si les bitcoins ont une valeur, c'est parce qu'ils sont utiles, et leur création est limitée.

Base du Bitcoin

Création des coins

La création des coins doit être limitée pour que la monnaie ait un minimum de valeur.

Les nouveaux coins sont minés progressivement vers leur existance en suivant un jeu de règles convenues mutuellement. Un utilisateur minant des bitcoins exécute un programme qui cherche sans-relâche la solution à un problème mathématique dont la difficulté est précisemment connue. Elle est automatiquement ajustée régulièrement afin que le nombre de solutions trouvées globalement, par tout le monde, soit constant : une moyenne de 6 par heure. Lorsqu'une solution est trouvée, l'utilisateur peux indiquer à tout le monde l'existance de cette nouvelle solution, ainsi que d'autres informations, assemblé en ce qui s'appelle un "[[Bloc|bloc]".

Les blocs contiennent 25 bitcoins pour le moment (50 initialement). Ce montant, connu sous le nom de récompense de bloc, est une incitation pour que des personnes effectuent ce calcul pour générer des blocs. Environ tout les 4 ans, le nombre de bitcoins qui sont minés dans un blocks est divisé par deux. Un bloc généré par un utilisateur malveillant qui ne respecte pas cette règle (ou tout autre règle) sera rejecté par le reste du monde. Enfin, pas plus de 21 millions de bitcoins seront en circulation.

Comme la récompense de bloc va décroitre au fil des années, les mineurs obtendront alternativement de l'argent pour leur matériel et électricité en collectant les frais de transactions. L'émetteur d'un transfert d'argent peux de manière volontaire payer des frais de transaction qui sera reçue par la personne trouvant le bloc suivant. Payer ces frais encouragera les mineurs à include des transactions dans un bloc plus rapidement.

Sending payments

To guarantee that a third-party, let's call her Eve, cannot spend other people's bitcoins by creating transactions in their names, Bitcoin uses public key cryptography to make and verify digital signatures. In this system, each person, such as Alice or Bob, has one or more addresses each with an associated pair of public and private keys that they may hold in a wallet. Only the user with the private key can sign a transaction to give some of their bitcoins to somebody else, but anyone can validate the signature using that user’s public key.

Suppose Alice wants to send a bitcoin to Bob.

  • Bob sends his address (from which the public key can be derived) to Alice.
  • Alice adds Bob’s public key and the amount of bitcoins to transfer to a message: a 'transaction' message.
  • Alice signs the transaction with her private key.
  • Alice broadcasts the transaction on the Bitcoin network for all to see.

(Only the first two steps require human action. The rest is done by the Bitcoin client software.)

Looking at this transaction from the outside, anyone who knows that these addresses belong to Alice and Bob can see that Alice has agreed to transfer the amount to Bob, because nobody else has Alice's private key. Alice would be foolish to give her private key to other people, as this would allow them to sign transactions in her name, removing funds from her control.

Later on, when Bob wishes to transfer the same bitcoins to Charley, he will do the same thing:

  • Charlie sends Bob his address.
  • Bob adds Charlie's public key and the amount of bitcoins to transfer to a message: a 'transaction' message.
  • Bob signs the transaction with his private key.
  • Bob broadcasts the transaction on the Bitcoin network for all to see.

Only Bob can do this because only he has the private key that can create a valid signature for the transaction.

Eve cannot change whose coins these are by replacing Bob’s public key with her public key, because Alice signed the transfer to Bob using her own private key, which is kept secret from Eve, and instructing that the coins which were hers now belong to Bob. So if Charlie accepts that the original coin was in the hands of Alice, he will also accept the fact that this coin was later passed to Bob, and now Bob is passing this same coin to him.

Preventing double-spending

The process described above does not prevent Alice from using the same bitcoins in more than one transaction. The following process does; this is the primary innovation behind Bitcoin.

  • Details about the transaction are sent and forwarded to all or as many other computers as possible.
  • A constantly growing chain of blocks that contains a record of all transactions is collectively maintained by all computers (each has a full copy).
  • To be accepted in the chain, transaction blocks must be valid and must include proof of work (one block generated by the network every 10 minutes).
  • Blocks are chained in a way so that, if any one is modified, all following blocks will have to be recomputed.
  • When multiple valid continuations to this chain appear, only the longest such branch is accepted and it is then extended further.

When Bob sees that his transaction has been included in a block, which has been made part of the single longest and fastest-growing block chain (extended with significant computational effort), he can be confident that the transaction by Alice has been accepted by the computers in the network and is permanently recorded, preventing Alice from creating a second transaction with the same coin. In order for Alice to thwart this system and double-spend her coins, she would need to muster more computing power than all other Bitcoin users combined.

Anonymity

When it comes to the Bitcoin network itself, there are no "accounts" to set up, and no e-mail addresses, user-names or passwords are required to hold or spend bitcoins. Each balance is simply associated with an address and its public-private key pair. The money "belongs" to anyone who has the private key and can sign transactions with it. Moreover, those keys do not have to be registered anywhere in advance, as they are only used when required for a transaction. Transacting parties do not need to know each other's identity in the same way that a store owner does not know a cash-paying customer's name.

A Bitcoin address mathematically corresponds to a public key and looks like this:

1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN

Each person can have many such addresses, each with its own balance, which makes it very difficult to know which person owns what amount. In order to protect his privacy, Bob can generate a new public-private key pair for each individual receiving transaction and the Bitcoin software encourages this behavior by default. Continuing the example from above, when Charlie receives the bitcoins from Bob, Charlie will not be able to identify who owned the bitcoins before Bob.

Capitalization / Nomenclature

Since Bitcoin is both a currency and a protocol, capitalization can be confusing. Accepted practice is to use Bitcoin (singular with an upper case letter B) to label the protocol, software, and community, and bitcoins (with a lower case b) to label units of the currency.

Where to see and explore

You can directly explore the system in action by visiting Blockchain.info or Bitcoin Block Explorer. The site shows you the latest blocks in the block chain. The block chain contains the agreed history of all transactions that took place in the system. Note how many blocks were generated in the last hour, which on average will be 6. Also notice the number of transactions and the total amount transferred in the last hour (last time I checked it was about 64 and 15K). This should give you an indication of how active the system is.

Next, navigate to one of these blocks. The block's hash begins with a run of zeros. This is what made creating the block so difficult; a hash that begins with many zeros is much more difficult to find than a hash with few or no zeros. The computer that generated this block had to try many Nonce values (also listed on the block's page) until it found one that generated this run of zeros. Next, see the line titled Previous block. Each block contains the hash of the block that came before it. This is what forms the chain of blocks. Now take a look at all the transactions the block contains. The first transaction is the income earned by the computer that generated this block. It includes a fixed amount of coins created out of "thin air" and possibly a fee collected from other transactions in the same block.

Drill down into any of the transactions and you will see how it is made up of one or more amounts coming in and out. Having more than one incoming and outgoing amount in a transaction enables the system to join and break amounts in any possible way, allowing for any fractional amount needed. Each incoming amount is a past transaction (which you can also view) from someone's address, and each outgoing amount is addressed to someone and will be part of a future transaction (which you can also navigate down into if it has already taken place.)

Finally you can follow any of the addresses links and see what public information is available for them.

To get an impression of the amount of activity on the Bitcoin network, you might like to visit the monitoring websites Bitcoin Monitor and Bitcoin Watch. The first shows a real-time visualization of events on the Bitcoin network, and the second lists general statistics on the amount and size of recent transactions.

How many people use Bitcoin?

This is quite a difficult question to answer accurately. One approach is to count how many bitcoin clients connected to the network in the last 24 hours. We can do this because some clients transmit their addresses to the other members of the network periodically. In September 2011 this method suggested that there were about 60 000 users.

See Also