Paint mixing is a good way to think about the one-way nature of hash functions, but it doesn’t capture their unpredictability. If you substitute light pink paint for regular pink paint in the example above, the result is still going to be pretty much the same purple, just a little lighter. But with hashes, a slight variation in the input results in a completely different output:
With the Antminers needing to stay below 38 °C, Mongolia is not the ideal location for a mining facility. It had been above 40 °C for several days when I visited in July. And in the winter, it can fall to –20 °C, cold enough for Bitmain to add insulation to the facilities. Dust is a problem as well, which is why the interior of every warehouse I walk through is veiled in a fine fabric filter.
Bitcoin mining is the process by which transactions are verified and added to the public ledger, known as the block chain, and also the means through which new bitcoin are released. Anyone with access to the internet and suitable hardware can participate in mining. The mining process involves compiling recent transactions into blocks and trying to solve a computationally difficult puzzle.  The participant who first solves the puzzle gets to place the next block on the block chain and claim the rewards.  The rewards, which incentivize mining, are both the transaction fees associated with the transactions compiled in the block as well as newly released bitcoin. (Related: How Does Bitcoin Mining Work?)
Bitcoin (BTC) is down a little under percent on the day, and is trading at $6,470 as of press time. With one notable exception Oct. 15 – a brief spike correlated with Tether’s slight untethering from its dollar peg – the top coin has been trading sideways between $6,500-$6,500 for the past few days, before slipping below the $6,500 today, still above where it started the week, close to $6,300. On the week, Bitcoin is 2.7 percent in the green, and is also up just about 2 percent on the month.
The basin has become a proving ground for the broader debate about the future of blockchain technology. Critics insist that bitcoin will never work as a mainstream currency—it’s slow and far too volatile. Its real function, they say, is as a “store of value”—that is, an investment asset, like gold or company shares—except that, unlike these traditional assets, bitcoin has no real underlying economic value. Rather, critics say, it has become merely another highly speculative bet—much like mortgage-backed derivatives were in the prelude to the financial crisis—and like them, it is just as assured of an implosion.
In the earliest days of Bitcoin, mining was done with CPUs from normal desktop computers.  Graphics cards, or graphics processing units (GPUs), are more effective at mining than CPUs and as Bitcoin gained popularity, GPUs became dominant.  Eventually, hardware known as an ASIC, which stands for Application-Specific Integrated Circuit, was designed specifically for mining bitcoin.  The first ones were released in 2013 and have been improved upon since, with more efficient designs coming to market.  Mining is competitive and today can only be done profitably with the latest ASICs.  When using CPUs, GPUs, or even the older ASICs, the cost of energy consumption is greater than the revenue generated.
Competing ASIC maker BitFury has also started seeking profit from nonmining industries. “While we began as just a mining company back in 2011, our company has significantly expanded its reach since then,” says CEO Vavilov. Among other things, BitFury is now providing its immersion cooling technology to high-performance data centers that are not involved in Bitcoin.

Ultimately, Bitcoin mining is becoming an arms race. In the early days, anyone with a decent PC could generate Bitcoins through Bitcoin mining. Today, you need to collaborate with other Bitcoin miners in pools, strategically choose the location of your Bitcoin mining operation, and purchase ASIC-powered computers that are specially designed to handle Bitcoin mining.
The counterargument is that the blockchain economy is still in its infancy. The “monetized code” that underlies the blockchain concept can be written to carry any sort of information securely, and to administer virtually any kind of transaction, contractual arrangement or other data-driven relationship between humans and their proliferating machines. In the future, supporters say, banks and other large institutions and even governments will run internal blockchains. Consumer product companies and tech companies will use blockchain to manage the “internet of things.” Within this ecosystem, we’ll see a range of cryptos playing different roles, with bitcoin perhaps serving as an investment, while more nimble cryptos can carry out everyday transactions. And the reality is, whatever its flaws, bitcoin’s success and fame thus far makes the whole crypto phenomenon harder to dislodge with every trading cycle.

Transactions are defined using a Forth-like scripting language.[3]:ch. 5 Transactions consist of one or more inputs and one or more outputs. When a user sends bitcoins, the user designates each address and the amount of bitcoin being sent to that address in an output. To prevent double spending, each input must refer to a previous unspent output in the blockchain.[67] The use of multiple inputs corresponds to the use of multiple coins in a cash transaction. Since transactions can have multiple outputs, users can send bitcoins to multiple recipients in one transaction. As in a cash transaction, the sum of inputs (coins used to pay) can exceed the intended sum of payments. In such a case, an additional output is used, returning the change back to the payer.[67] Any input satoshis not accounted for in the transaction outputs become the transaction fee.[67]