No one was more surprised than the miners themselves. By the end of 2017, even with the rapidly rising difficulty, the per-bitcoin cost for basin miners was around $2,000, producing profit margins similar to those of the early years, only on a vastly larger scale. Marc Bevand, a French-born computer scientist who briefly mined in the basin and is now a tech investor, estimates that, by December, a hypothetical investor who had built a 5-megawatt mine in the basin just four months earlier would’ve recovered the $7 million investment and would now be clearing $140,000 in profit every 24 hours. “Nowadays,” he told me back in December, miners “are literally swimming in cash.”
In 2014 prices started at $770 and fell to $314 for the year. In February 2014 the Mt. Gox exchange, the largest bitcoin exchange at the time, said that 850,000 bitcoins had been stolen from its customers, amounting to almost $500 million. Bitcoin's price fell by almost half, from $867 to $439 (a 49% drop). Prices remained low until late 2016.
Volatility. This very reason many speculators are attracted to Bitcoin is the same reason many potential users are hesitant to get involved. Users that look at Bitcoin as a speculative investment option are essentially gambling on the process, and the future price of Bitcoin is largely unknown. There are estimates that Bitcoin will both be worth pennies in a few years, while some predict that a single bitcoin will be worth $500k in three years. As new investors continue to invest and the market cap grows, Bitcoin’s price could become more stable.
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.
Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is controlled by honest nodes, the honest chain will grow fastest and outpace any competing chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the honest nodes. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added.
Bitcoin is a digital asset designed to work in peer-to-peer transactions as a currency. Bitcoins have three qualities useful in a currency, according to The Economist in January 2015: they are "hard to earn, limited in supply and easy to verify". However, as of 2015 bitcoin functions more as a payment processor than as a currency.
But due to the volatility of bitcoin, it’s impossible to predict the annual revenue of a mining farm. On my flight from China back to the United States, the price of bitcoin crashed 25 percent, from $2,400 to $1,800. In no time at all the operation I visited was bringing in $50,000 less per day. Within a week it was back up, and approaching an all-time high.
Unfortunately, as good as the ASICS there are some downsides associated with Bitcoin ASIC mining. Although the energy consumption is far lower than graphics cards, the noise production goes up exponentially, as these machines are far from quiet. Additionally, ASIC Bitcoin miners produce a ton of heat and are all air‐cooled, with temperatures exceeding 150 degrees F. Also, Bitcoin ASICs can only produce so much computational power until they hit an invisible wall. Most devices are not capable of producing more than 1.5 TH/s (terrahash) of computational power, forcing customers to buy these machines in bulk if they want to start a somewhat serious Bitcoin mining business.
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.
Nor was it simply the deep pockets. At these prices, even smaller operators have been able to make real money running a few machines in home-based, under-the-radar mines. Take the 20-something Wenatchee man we’ll call “Benny”—he didn’t want to be identified—who last July bought three mining servers, set them up in his house (one in the master bedroom and two in the living room)—and began mining Ethereum, bitcoin’s closest cryptocurrency rival. As Ethereum climbed from $165 in July to nearly $1,200 in January, Benny had not only repaid his $7,000 investment but was making enough to pay his mortgage. As a side benefit, this winter, Benny’s power bill went down: The waste heat from the three churning servers kept the house at a toasty 78 degrees. “We actually have to open the windows,” he told me in January. His servers, meanwhile, pretty much run themselves—although, when he’s at work, clerking at a grocery, he monitors the machines, and the Ethereum price, on his phone. “It’s just basically free money,” Benny says. “All I have to do is wake up in the morning and make sure nothing crashed during the night.”
At the end of the day, all of this can go over your head without much danger. Just remember that it’s good to know what you’re dealing with. Bitcoin wallets make use of a fundamental cryptographic principle that we use for things ranging from https for websites or sending anonymous tips to Wikileaks. Most importantly, by understanding private keys you’ll have a much easier familiarizing yourself with Cold Storage wallets.
All mining ASICs, Bitmain’s included, are performing essentially the same computation—the SHA-256 hashing algorithm—even if they go about it a bit differently. The standard algorithm takes 64 steps to complete, but in Bitcoin it is run twice for each block header, meaning a full round requires 128 steps that are heavy on integer addition. “That’s what dominates the whole design,” says Timo Hanke, the chief cryptographer at String Labs, a cryptography-focused incubator in Palo Alto, Calif. “So, if somebody was to optimize it, they have to optimize the adders. That’s where most of the work is.”
Bitmain gained an edge by supplying a superior product in large quantities, a feat that has eluded every other company in the industry. The Ordos facility is stuffed almost exclusively with Bitmain’s best performing rig, the Antminer S9. According to company specs, the S9 is capable of churning out 14 terahashes, or 14 trillion hashes, every second while consuming around 0.1 joules of energy per gigahash for a total of about 1,400 watts (about as much as a microwave oven consumes).
In front of me are nine warehouses with bright blue roofs, each emblazoned with the logo for Bitmain, a Chinese firm headquartered in Beijing that is arguably the most important company in the Bitcoin industry. Bitmain sells Bitcoin mining rigs—the specialized computers that keep the cryptocurrency running and that produce, or “mine,” new bitcoins for their owners. It also uses its own rigs to stock facilities that it owns or co-owns and operates. Bitmain owns about 20 percent of this one.
On 24 August 2017 (at block 481,824), Segregated Witness (SegWit) went live. Transactions contain some data which is only used to verify the transaction, and does not otherwise effect the movement of coins. SegWit introduced a new transaction format that moved this data into a new field in a backwards-compatible way. The segregated data, the so-called witness, is not sent to non-SegWit nodes and therefore does not form part of the blockchain as seen by legacy nodes. This lowers the size of the average transaction in such nodes' view, thereby increasing the block size without incurring the hard fork implied by other proposals for block size increases. Thus, per computer scientist Jochen Hoenicke, the actual block capacity depends on the ratio of SegWit transactions in the block, and on the ratio of signature data. Based on his estimate, if the ratio of SegWit transactions is 50%, the block capacity may be 1.25 megabytes. According to Hoenicke, if native SegWit addresses from Bitcoin Core version 0.16.0 are used, and SegWit adoption reaches 90% to 95%, a block size of up to 1.8 megabytes is possible.
For one, proof of work prevents miners from creating bitcoins out of thin air: they must burn real energy to earn them. And two, proof of work ossifies Bitcoin’s history. If an attacker were to try and change a transaction that happened in the past, that attacker would have to redo all of the work that has been done since to catch up and establish the longest chain. This is practically impossible and is why miners are said to “secure” the Bitcoin network.
A hard fork of a cryptocurrency is a change to the protocol that makes previously invalid blocks/transactions valid (or vice-versa). This requires all the nodes to upgrade to the latest version of the protocol software. In other words, a hard fork is a permanent divergence from the previous version of the blockchain, and nodes running previous versions will no longer be accepted by the newest version. This, in turn, creates a fork in the blockchain: one path follows the new, upgraded blockchain, and the other path continues along the old path.
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