The bitcoin blockchain is a public ledger that records bitcoin transactions. It is implemented as a chain of blocks, each block containing a hash of the previous block up to the genesis block[a] of the chain. A network of communicating nodes running bitcoin software maintains the blockchain.:215–219 Transactions of the form payer X sends Y bitcoins to payee Z are broadcast to this network using readily available software applications.
Various potential attacks on the bitcoin network and its use as a payment system, real or theoretical, have been considered. The bitcoin protocol includes several features that protect it against some of those attacks, such as unauthorized spending, double spending, forging bitcoins, and tampering with the blockchain. Other attacks, such as theft of private keys, require due care by users.
Bitcoin's origin story sounds like something out of science fiction: It was launched in 2008 on the heels of a white paper published by the mysterious Satoshi Nakamoto, whose real identity – and country of origin – are unknown. Nakamoto conceived of Bitcoin as a currency that was 1) encrypted; 2) decentralized, i.e. it was ungoverned and did not belong to any nation; and 3) a digital "distributed ledger," such that everyone can verify online the legitimacy of transactions.
Here’s how it works: Say Alice wants to transfer one bitcoin to Bob. First Bob sets up a digital address for Alice to send the money to, along with a key allowing him to access the money once it’s there. It works sort-of like an email account and password, except that Bob sets up a new address and key for every incoming transaction (he doesn’t have to do this, but it’s highly recommended).
Keys come in pairs. The public key is used to encrypt the message whereas the private key decrypts the message. The only person with the private key is you. Everyone else is free to have your public key. As a result, everyone can send you encrypted messages without having to agree on a key beforehand. They simply use your public key and you untangle the gibberish by using your private key.
Bitcoin was the first decentralized digital currency; an online peer-to-peer payment system, without the need for third-party intermediaries such as banks. It was first released in 2008 and has since grown to be the largest cryptocurrency when measured by market cap. Bitcoins are not issued like traditional currency, they are digital and “mined” by powerful servers over time. It was designed to have a fixed supply of 21 million coins.
Several news outlets have asserted that the popularity of bitcoins hinges on the ability to use them to purchase illegal goods. Nobel-prize winning economist Joseph Stiglitz says that bitcoin's anonymity encourages money laundering and other crimes, "If you open up a hole like bitcoin, then all the nefarious activity will go through that hole, and no government can allow that." He's also said that if "you regulate it so you couldn’t engage in money laundering and all these other [crimes], there will be no demand for Bitcoin. By regulating the abuses, you are going to regulate it out of existence. It exists because of the abuses."
The bitcoin network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin cryptocurrency wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called mining. Satoshi Nakamoto, the designer of bitcoin claimed that design and coding of bitcoin began in 2007. The project was released in 2009 as open source software.
While it is possible to store any digital file in the blockchain, the larger the transaction size, the larger any associated fees become. Various items have been embedded, including URLs to child pornography, an ASCII art image of Ben Bernanke, material from the Wikileaks cables, prayers from bitcoin miners, and the original bitcoin whitepaper.
This is the most basic version of dividing payments. This method shifts the risk to the pool, guaranteeing payment for each share that’s contributed. Thus, each miner is guaranteed an instant payout. Miners are paid out from the pool’s existing balance, allowing for the least possible variance in payment. However, for this type of model to work, it requires a very large reserve of 10,000 BTC to cover any unexpected streaks of bad luck.
Many also fear that the new mines will suck up so much of the power surplus that is currently exported that local rates will have to rise. In fact, miners’ appetite for power is growing so rapidly that the three counties have instituted surcharges for extra infrastructure, and there is talk of moratoriums on new mines. There is also talk of something that would have been inconceivable just a few years ago: buying power from outside suppliers. That could mean the end of decades of ultracheap power—all for a new, highly volatile sector that some worry may not be around long anyway. Indeed, one big fear, says Dennis Bolz, a Chelan County Public Utility commissioner, is that a prolonged price collapse will cause miners to abandon the basin—and leave ratepayers with “an infrastructure that may or may not have a use.”
Indeed, for a time, everything seemed to come together for the miners. By mid-2013, Carlson’s first mine, though only 250 kilowatts in size, was mining hundreds of bitcoins a day—enough for him to pay all his power bills and other expenses while “stacking” the rest as a speculative asset that had started to appreciate. By then, bitcoin was shedding its reputation as the currency of drug dealers and data-breach blackmailers. A few legitimate companies, like Microsoft, and even some banks were accepting it. Competing cryptocurrencies were proliferating, and trading sites were emerging. Bitcoin was the hot new thing, and its price surged past $1,100 before settling in the mid-hundreds.
As more miners join, the rate of block creation increases. As the rate of block generation increases, the difficulty rises to compensate, which has a balancing of effect due to reducing the rate of block-creation. Any blocks released by malicious miners that do not meet the required difficulty target will simply be rejected by the other participants in the network.
News drives attention, and attention drives understanding. While many people have flocked to cryptocurrencies purely in search of financial gain, there are a ton of people that are simply curious. Some peoples are sticking around and trying to understand what cryptos are all about. While more users increases Bitcoin’s network effect, more people forming in-depth understandings of cryptos also strengthen the active Bitcoin community.
Mining is a record-keeping service done through the use of computer processing power.[e] Miners keep the blockchain consistent, complete, and unalterable by repeatedly grouping newly broadcast transactions into a block, which is then broadcast to the network and verified by recipient nodes. Each block contains a SHA-256 cryptographic hash of the previous block, thus linking it to the previous block and giving the blockchain its name.:ch. 7