A bitcoin is defined by a sequence of digitally signed transactions that began with the bitcoin's creation, as a block reward. The owner of a bitcoin transfers it by digitally signing it over to the next owner using a bitcoin transaction, much like endorsing a traditional bank check. A payee can examine each previous transaction to verify the chain of ownership. Unlike traditional check endorsements, bitcoin transactions are irreversible, which eliminates risk of chargeback fraud.
In addition to being the means of generating new bitcoin, bitcoin mining creates the blockchain that verifies bitcoin transactions. The block reward is gleaned by placing a new block on the blockchain, which acts as an advancing public ledger of verified transaction. This is an essential function for bitcoin's operation as it enables the currency to be safely and predictably created without the centralized regulation in the form of a bank or federal government. Blocks must to be a validated by a proof-of-work (Bitcoin uses Hashcash), which can only be obtained by expending a great deal of processing power. Once a block is obtained a message is broadcast to the mining network and verified by all recipients.
Bitcoin may react differently to inflation/deflation: Bitcoin differs significantly from fiat currencies, due to the fact that there is a limited number of bitcoins to be mined. Paper money, on the other hand, can be created at will out of thin air by central banks. Due to its limited supply, Bitcoin may potentially hold its value better than paper money, which can technically have an unlimited supply.
A few miles from the shuttered carwash, David Carlson stands at the edge of a sprawling construction site and watches workers set the roof on a Giga Pod, a self-contained crypto mine that Carlson designed to be assembled in a matter of weeks. When finished, the prefabricated wood-frame structure, roughly 12 by 48 feet, will be equipped with hundreds of high-speed servers that collectively draw a little over a megawatt of power and, in theory, will be capable of producing around 80 bitcoins a month. Carlson himself won’t be the miner; his company, Giga-Watt, will run the pod as a hosting site for other miners. By summer, Giga-Watt expects to have 24 pods here churning out bitcoins and other cryptocurrencies, most of which use the same computing-intensive, cryptographically secured protocol called the blockchain. “We’re right where the rubber hits the road with blockchain,” Carlson shouts as we step inside the project’s first completed pod and stand between the tall rack of toaster-size servers and a bank of roaring cooling fans. The main use of blockchain technology now is to keep a growing electronic ledger of every single bitcoin transaction ever made. But many miners see it as the record-keeping mechanism of the future. “We’re where the blockchain goes from that virtual concept to something that’s real in the world,” says Carlson, “something that somebody had to build and is actually running.”
Satoshi Nakamoto is credited with designing Bitcoin. Nakamoto claims to be a man living in Japan born on April 5th, 1975 but there are speculations that he is actually either an individual programmer or group of programmers with a penchant for computer science and cryptography scattered around the United States or Europe. Nakamoto is believed to have created the first blockchain database and have been the first to solve the double spending problem other digital currency failed to. While Bitcoin’s creator is shrouded in mystery, his Wizard of Oz status hasn’t stopped the digital currency from becoming increasingly popular with individuals, businesses, and even governments.
How hard are the puzzles involved in mining? Well, that depends on how much effort is being put into mining across the network. The difficulty of the mining can be adjusted, and is adjusted by the protocol every 2016 blocks, or roughly every 2 weeks. The difficulty adjusts itself with the aim of keeping the rate of block discovery constant. Thus if more computational power is employed in mining, then the difficulty will adjust upwards to make mining harder. And if computational power is taken off of the network, the opposite happens. The difficulty adjusts downward to make mining easier.
In exchange for securing the network, and as the “lottery price” that serves as an incentive for burning this energy, each new block includes a special transaction. It’s this transaction that awards the miner with new bitcoins, which is how bitcoins first come into circulation. At Bitcoin’s launch, each new block awarded the miner with 50 bitcoins, and this amount halves every four years: Currently each block includes 12.5 new bitcoins. Additionally, miners get to keep any mining fees that were attached to the transactions they included in their blocks.
David Carlson: The Bitcoin Pioneer | Carlson, a former software engineer, is often credited with starting the basin’s bitcoin boom when he built one of the world’s first large-scale mines in an old furniture store in Wenatchee. “We’re where the blockchain goes from that virtual concept to something that’s real in the world, something that somebody had to build and is actually running,” he says. Here, Carlson stands in front of his latest mining endeavor, a megaproject made up of 24 prefabricated mining “pods.” | Patrick Cavan Brown for Politico Magazine
Bitcoin mining is the processing of transactions on the Bitcoin network and securing them into the blockchain. Each set of transactions that are processed is a block. The block is secured by the miners. Miners do this by creating a hash that is created from the transactions in the block. This cryptographic hash is then added to the block. The next block of transactions will look to the previous block’s hash to verify it is legitimate. Then your miner will attempt to create a new block that contains current transactions and new hash before anyone else’s miner can do so.
Granted, all that real-worlding and road-hitting is a little hard to visualize just now. The winter storms that have turned the Cascade Mountains a dazzling white have also turned the construction site into a reddish quagmire that drags at workers and equipment. There have also been permitting snafus, delayed utility hookups, and a lawsuit, recently settled, by impatient investors. But Carlson seems unperturbed. “They are actually making it work,” he told me earlier, referring to the mud-caked workers. “In a normal project, they might just say, ‘Let’s just wait till spring,’” Carlson adds. “But in bitcoin and blockchain, there is no stopping.” Indeed, demand for hosting services in the basin is so high that a desperate miner offered Carlson a Lamborghini if Carlson would bump him to the head of the pod waiting list. “I didn’t take the offer,” Carlson assures me. “And I like Lamborghinis!”
Gradually, people moved to GPU mining. A GPU (graphics processing unit) is a special component added to computers to carry out more complex calculations. GPUs were originally intended to allow gamers to run computer games with intense graphics requirements. Because of their architecture, they became popular in the field of cryptography, and around 2011, people also started using them to mine bitcoins. For reference, the mining power of one GPU equals that of around 30 CPUs.
If Eve offers to pay Alice a bitcoin in exchange for goods and signs a corresponding transaction, it is still possible that she also creates a different transaction at the same time sending the same bitcoin to Bob. By the rules, the network accepts only one of the transactions. This is called a race attack, since there is a race which transaction will be accepted first. Alice can reduce the risk of race attack stipulating that she will not deliver the goods until Eve's payment to Alice appears in the blockchain.
Malachi Salcido: The Local Talent Salcido, a Wenatchee native and building contractor, studied other miners before launching his own bitcoin operation in 2014. He’s now one of the biggest miners in the basin, and has worked hard to convince the community that bitcoin and the blockchain could transform the region into a technology hub. “What you can actually do with the technology, we’re only beginning to discover,” says Salcido, pictured above in one of his mines. The basin is “building a platform that the entire world is going to use.” | Patrick Cavan Brown for Politico Magazine
Bitcoin mining operations take a lot of effort and power, and the sheer amount of competition makes it difficult for newcomers to enter the race and profit. A new miner would not only need to have adequate computing power and the knowledge to use it to outcompete the competition, but would also need the extensive amount of capital necessary to fund the operations.
1. Once your mining computer comes up with the right guess, your mining program determines which of the current pending transactions will be grouped together into the next block of transactions. Compiling this block represents your moment of glory, as you’ve now become a temporary banker of Bitcoin who gets to update the Bitcoin transaction ledger known as the blockchain.
Although it is possible to handle bitcoins individually, it would be unwieldy to require a separate transaction for every bitcoin in a transaction. Transactions are therefore allowed to contain multiple inputs and outputs, allowing bitcoins to be split and combined. Common transactions will have either a single input from a larger previous transaction or multiple inputs combining smaller amounts, and one or two outputs: one for the payment, and one returning the change, if any, to the sender. Any difference between the total input and output amounts of a transaction goes to miners as a transaction fee.
Yes it can—but it won’t do it much good. The reason is that Google’s servers aren’t fit for solving the Bitcoin mining problem in the same way that ASICs are. For reference, if Google harnesses all of its servers for the sole purpose of mining Bitcoin (and abandons all other business operations), it will account for a very small percent (less than 0.001%) of the total mining power the Bitcoin network currently has.
And, inevitably, there was a growing tension with the utilities, which were finally grasping the scale of the miners’ ambitions. In 2014, the public utility district in Chelan County received requests from would-be miners for a total of 220 megawatts—a startling development in a county whose 70,000 residents were then using barely 200 megawatts. Similar patterns were emerging across the river in neighboring Douglas and Grant counties, where power is also cheap.
So that’s Bitcoin mining in a nutshell. It’s called mining because of the fact that this process helps “mine” new Bitcoins from the system. But if you think about it, the mining part is just a by-product of the transaction confirmation process. So the name is a bit misleading, since the main goal of mining is to maintain the ledger in a decentralized manner.
These dynamics have resulted in a race among miners to amass the fastest, most energy-efficient chips. And the demand for faster equipment has spawned a new industry devoted entirely to the computational needs of Bitcoin miners. Until late 2013, generic graphics cards and field-programmable gate arrays (FPGAs) were powerful enough to put you in the race. But that same year companies began to sell computer chips, called application-specific integrated circuits (ASICs), which are specifically designed for the task of computing the Bitcoin hashing algorithm. Today, ASICs are the standard technology found in every large-scale facility, including the mining farm in Ordos. When Bitmain first started making ASICs in 2013, the field was thick with competitors—BitFury, a multinational ASIC maker; KnCMiner in Stockholm; Butterfly Labs in the United States; Canaan Creative in Beijing; and about 20 other companies spread around China.
After some months later, after the network started, it was discovered that high end graphics cards were much more efficient at Bitcoin mining. The Graphical Processing Unit (GPU) handles complex 3D imaging algorithms, therefore, CPU Bitcoin mining gave way to the GPU. The massively parallel nature of some GPUs allowed for a 50x to 100x increase in Bitcoin mining power while using far less power per unit of work. But this still wasn’t the most power-efficient option, as both CPUs and GPUs were very efficient at completing many tasks simultaneously, and consumed significant power to do so, whereas Bitcoin in essence just needed a processor that performed its cryptographic hash function ultra-efficiently.
Bitcoin’s popularity has undeniably been its number one advantage over the numerous other cryptocurrencies. By gaining a large number of adopters and users, Bitcoin has achieved a network effect that attracts even more users. Users who would otherwise be more apprehensive investing in a relatively unknown and unproven digital currency are reassured by Bitcoin’s performance over time, its growing community, and the fact that people they know are adopting cryptos.
Then two things happen. New transactions are added to the Bitcoin blockchain ledger, and the winning miner is rewarded with newly minted bitcoins. The miner also collects small fees that users voluntarily tack onto their transactions as a way of pushing them to the head of the line. It’s ultimately an exchange of electricity for coins, mediated by a whole lot of computing power. The probability of an individual miner winning the lottery depends entirely on the speed at which that miner can generate new hashes relative to the speed of all other miners combined. In this way, the lottery is more like a raffle, where the more tickets you buy in comparison to everyone else makes it more likely that your name will be pulled out of the hat.
Benny: The Rogue Miner “Benny,” a self-taught, 20-something computer whiz, set up three mining servers in his Wenatchee home last summer. Since then he has made enough profit not only to recover his initial investment but also to pay his monthly mortgage. As a bonus, the heat from the computers keeps his home heated all winter. “It’s just basically free money,” says Benny, pictured here with his homemade mining operation. | Patrick Cavan Brown for Politico Magazine
Another advancement in mining technology was the creation of the mining pool, which is a way for individual miners to work together to solve blocks even faster. As a result of mining in a pool with others, the group solves many more blocks than each miner would on his own. Bitcoin mining pools exist because the computational power required to mine Bitcoins on a regular basis is so vast that it is beyond the financial and technical means of most people. Rather than investing a huge amount of money in mining equipment that will (hopefully) give you a return over a period of decades, a mining pool allows the individual to accumulate smaller amounts of Bitcoin more frequently.
The proof-of-work system, alongside the chaining of blocks, makes modifications of the blockchain extremely hard, as an attacker must modify all subsequent blocks in order for the modifications of one block to be accepted. As new blocks are mined all the time, the difficulty of modifying a block increases as time passes and the number of subsequent blocks (also called confirmations of the given block) increases.