Friday, December 22, 2017

What is Bitcoin?

What is Bitcoin? 
Bitcoin is a collection of concepts and technologies that form the basis of a digital money ecosystem. Units of currency called bitcoins are used to store and transmit value among participants in the bitcoin network. Bitcoin users communicate with each other using the bitcoin protocol primarily via the Internet, although other transport networks can also be used. The bitcoin protocol stack, available as open source software, can be run on a wide range of computing devices, including laptops and smartphones, making the technology easily accessible. Users can transfer bitcoin over the network to do just about anything that can be done with conventional currencies, such as buy and sell goods, send money to people or organizations, or extend credit. 

Bitcoin technology includes features that are based on encryption and digital signatures to ensure the security of the bitcoin network. Bitcoins can be purchased, sold and exchanged for other currencies at specialized currency ex‐ changes. Bitcoin in a sense is the perfect form of money for the Internet because it is fast, secure, and borderless. Unlike traditional currencies, bitcoins are entirely virtual. 

There are no physical coins or even digital coins per se. The coins are implied in transactions which transfer value from sender to recipient. Users of bitcoin own keys which allow them to prove owner‐ ship of transactions in the bitcoin network, unlocking the value to spend it and transfer it to a new recipient. Those keys are often stored in a digital wallet on each user’s com‐ puter. Possession of the key that unlocks a transaction is the only prerequisite to spend‐ ing bitcoins, putting the control entirely in the hands of each user. Bitcoin is a fully-distributed, peer-to-peer system. As such there is no “central” server or point of control. Bitcoins are created through a process called “mining”, which in‐ volves looking for a solution to a difficult problem. Any participant in the bitcoin net‐ work (i.e., any device running the full bitcoin protocol stack) may operate as a miner,using their computer’s processing power to attempt to find solutions to this problem. Every 10 minutes on average, a new solution is found by someone who then is able to validate the transactions of the past 10 minutes and is rewarded with brand new bitcoins. Essentially, bitcoin mining de-centralizes the currency-issuance and clearing functions of a central bank and replaces the need for any central bank with this global competition. The bitcoin protocol includes built-in algorithms that regulate the mining function across the network. The difficulty of the problem that miners must solve is adjusted dynamically so that, on average, someone finds a correct answer every 10 minutes re‐ gardless of how many miners (and CPUs) are working on the problem at any moment. The protocol also halves the rate at which new bitcoins are created every 4 years, and limits the total number of bitcoins that will be created to a fixed total of 21 million coins. 

The result is that the number of bitcoins in circulation closely follows an easily pre‐ dictable curve that reaches 21 million by the year 2140. Due to bitcoin’s diminishing rate of issuance, over the long term, the bitcoin currency is deflationary. Furthermore, bitcoin cannot be inflated by “printing” new money above and beyond the expected issuance rate. Behind the scenes, bitcoin is also the name of the protocol, a network and a distributed computing innovation. The bitcoin currency is really only the first application of this invention. As a developer, I see bitcoin as akin to the Internet of money, a network for propagating value and securing the ownership of digital assets via distributed compu‐ tation. 

There’s a lot more to bitcoin than first meets the eye. In this chapter we’ll get started by explaining some of the main concepts and terms, getting the necessary software and using bitcoin for simple transactions. In following chapters we’ll start unwrapping the layers of technology that make bitcoin possible and examine the inner workings of the bitcoin network and protocol.


Digital Currencies Before Bitcoin 

The emergence of viable digital money is closely linked to developments in cryptogra‐ phy. This is not surprising when one considers the fundamental challenges involved with using bits to represent value that can be exchanged for goods and services. Two fundamental questions for anyone accepting digital money are: 1. Can I trust the money is authentic and not counterfeit? 2. Can I be sure that no one else can claim that this money belongs to them and not me? (aka the “double-spend” problem) Issuers of paper money are constantly battling the counterfeiting problem by using increasingly sophisticated papers and printing technology. Physical money addresses the double-spend issue easily because the same paper note cannot be in two places at once. Of course, conventional money is also often stored and transmitted digitally. In this case the counterfeiting and double-spend issues are handled by clearing all elec‐ tronic transactions through central authorities that have a global view of the currency in circulation. 

For digital money, which cannot take advantage of esoteric inks or holo‐ graphic strips, cryptography provides the basis for trusting the legitimacy of a user’s claim to value. Specifically, cryptographic digital signatures enable a user to sign a digital asset or transaction proving the ownership of that asset. With the appropriate archi‐ tecture, digital signatures also can be used to address the double-spend issue. When cryptography started becoming more broadly available and understood in the late 1980s, many researchers began trying to use cryptography to build digital curren‐ cies. These early digital currency projects issued digital money, usually backed by a national currency or precious metal such as gold. While these earlier digital currencies worked, they were centralized and as a result they were easy to attack by governments and hackers. Early digital currencies used a central clearinghouse to settle all transactions at regular intervals, just like a traditional banking system. Unfortunately, in most cases these nascent digital currencies were targeted by worried governments and eventually litigated out of existence. 

Some failed in spectac‐ ular crashes when the parent company liquidated abruptly. To be robust against inter‐ vention by antagonists, whether legitimate governments or criminal elements, a decentralized digital currency was needed to avoid a single point of attack. Bitcoin is such a system, completely de-centralized by design, and free of any central authority or point of control that can be attacked or corrupted. Bitcoin represents the culmination of decades of research in cryptography and dis‐ tributed systems and includes four key innovations brought together in a unique and powerful combination. Bitcoin consists of: • A de-centralized peer-to-peer network (the bitcoin protocol); • A public transaction ledger (the blockchain); • A de-centralized mathematical and deterministic currency issuance (distributed mining), and; • A de-centralized transaction verification system (transaction script).

source : Mastering Bitcoin by Andreas M. Antonopoulos

No comments:

Post a Comment