Bitcoin is an increasingly popular cryptocurrency that utilizes blockchain technology to facilitate transactions. Basically, a user obtains a Bitcoin wallet that can be used for storing bitcoins and both sending and receiving of payments. The blockchain technology used by Bitcoin is really just a shared public ledger that is used by the entire public network. The technology used is secured through cryptography, a branch of mathematics that provides a highly secure means of facilitating and recording transactions on the network.
When you pay someone in bitcoin, you set in motion a process of escalating, energy-intensive complexity. Your payment is basically an electronic message, which contains the complete lineage of your bitcoin, along with data about who you’re sending it to (and, if you choose, a small processing fee). That message gets converted by encryption software into a long string of letters and numbers, which is then broadcast to every miner on the bitcoin network (there are tens of thousands of them, all over the world). Each miner then gathers your encrypted payment message, along with any other payment messages on the network at the time (usually in batches of around 2,000), into what’s called a block. The miner then uses special software to authenticate each payment in the block—verifying, for example, that you owned the bitcoin you’re sending, and that you haven’t already sent that same bitcoin to someone else.
Your machine, right now, is actually working as part of a bitcoin mining collective that shares out the computational load. Your computer is not trying to solve the block, at least not immediately. It is chipping away at a cryptographic problem, using the input at the top of the screen and combining it with a nonce, then taking the hash to try to find a solution. Solving that problem is a lot easier than solving the block itself, but doing so gets the pool closer to finding a winning nonce for the block. And the pool pays its members in bitcoins for every one of these easier problems they solve.
Though transaction fees are optional, miners can choose which transactions to process and prioritize those that pay higher fees. Miners may choose transactions based on the fee paid relative to their storage size, not the absolute amount of money paid as a fee. These fees are generally measured in satoshis per byte (sat/b). The size of transactions is dependent on the number of inputs used to create the transaction, and the number of outputs.:ch. 8
Cryptojacking and legitimate mining, however, are sensitive to cryptocurrency prices, which have declined sharply since their highs in late 2017 and early 2018. According to a McAfee September 2018 threats report, cryptojacking instances “remain very active,” but a decline in the value of cryptocurrencies could lead to a plunge in coin mining malware, just as fast as it emerged.
You can look at this hash as a really long number. (It's a hexadecimal number, meaning the letters A-F are the digits 10-15.) To ensure that blocks are found roughly every ten minutes, there is what's called a difficulty target. To create a valid block your miner has to find a hash that is below the difficulty target. So if for example the difficulty target is
The rise in the value of bitcoin and other cryptocurrencies in recent years has made cryptocurrency mining a lucrative activity. Cryptocurrency mining uses computing power to compete against other computers to solve complex math problems, with that effort rewarded with bits of cryptocurrencies. That computing power helps create a distributed, secure and transparent network ledger — commonly known as a blockchain — on which applications such as bitcoin can be built.
At this point, the actual mining begins. In essence, each miner now tries to demonstrate to the rest of the network that his or her block of verified payments is the one true block, which will serve as the permanent record of those 2,000 or so transactions. Miners do this by, essentially, trying to be the first to guess their block’s numerical password. It’s analogous to trying to randomly guess someone’s computer password, except on a vastly larger scale. Carlson’s first mining computer, or “rig,” which he ran out of his basement north of Seattle, could make 12 billion “guesses” every second; today’s servers are more than a thousand times faster.
For years, few residents really grasped how appealing their region was to miners, who mainly did their esoteric calculations quietly tucked away in warehouses and basements. But those days are gone. Over the past two years, and especially during 2017, when the price of a single bitcoin jumped from $1,000 to more than $19,000, the region has taken on the vibe of a boomtown. Across the three rural counties of the Mid-Columbia Basin—Chelan, Douglas and Grant—orchards and farm fields now share the rolling landscape with mines of every size, from industrial-scale facilities to repurposed warehouses to cargo containers and even backyard sheds. Outsiders are so eager to turn the basin’s power into cryptocurrency that this winter, several would-be miners from Asia flew their private jet into the local airport, took a rental car to one of the local dams, and, according to a utility official, politely informed staff at the dam visitors center, “We want to see the dam master because we want to buy some electricity.”
Full clients verify transactions directly by downloading a full copy of the blockchain (over 150 GB As of January 2018). They are the most secure and reliable way of using the network, as trust in external parties is not required. Full clients check the validity of mined blocks, preventing them from transacting on a chain that breaks or alters network rules. Because of its size and complexity, downloading and verifying the entire blockchain is not suitable for all computing devices.
In the meantime, the basin’s miners are at full steam ahead. Salcido says he’ll have 42 megawatts running by the end of the year and 150 megawatts by 2020. Carlson says his next step after his current build-out of 60 megawatts will be “in the hundreds” of megawatts. Over the next five years, his company plans to raise $5 billion in capital to build 2,000 megawatts—two gigawatts—of additional mining capacity. But that won’t all be in the basin, he says. Carlson says he and others will soon be scaling up so rapidly that, for farsighted miners, the Mid-Columbia Basin effectively is already maxed out, in part because the counties simply can’t build out power lines and infrastructure fast enough. “So we have to go site hunting across the US & Canada,” Carlson told me in a text. “I’m on my way to Quebec on Monday.” As in oil or gold, prospectors never stop—they just move on.
Transactions are verified by network nodes through cryptography and recorded in a public distributed ledger called a blockchain. Bitcoin was invented by an unknown person or group of people using the name Satoshi Nakamoto and released as open-source software in 2009. Bitcoins are created as a reward for a process known as mining. They can be exchanged for other currencies, products, and services. Research produced by the University of Cambridge estimates that in 2017, there were 2.9 to 5.8 million unique users using a cryptocurrency wallet, most of them using bitcoin.