The Mid-Columbia Basin isn’t the only location where the virtual realm of cryptocurrency is colliding with the real world of megawatts and real estate. In places like China, Venezuela and Iceland, cheap land and even cheaper electricity have resulted in bustling mining hubs. But the basin, by dint of its early start, has emerged as one of the biggest boomtowns. By the end of 2018, according to some estimates, miners here could account for anywhere from 15 to 30 percent of all bitcoin mining in the world, and impressive shares of other cryptocurrencies, such as Ethereum and Litecoin. And as with any boomtown, that success has created tensions. There have been disputes between miners and locals, bankruptcies and bribery attempts, lawsuits, even a kind of intensifying guerrilla warfare between local utility crews and a shadowy army of bootleg miners who set up their servers in basements and garages and max out the local electrical grids.

“Cryptojacking scams have continued to evolve, and they don’t even need you to install anything,” Jason Adler, an assistant director for the Federal Trade Commission, wrote in a blog post in June. “Scammers can use malicious code embedded in a website or an ad to infect your device. Then they can help themselves to your device’s processor without you even knowing.”
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.”
What would it take for a competitor to nudge into the fray? For starters, it has to be willing to put a lot of money on the line. Several million dollars can go into chip design before a single prototype is produced. “It takes the willingness to pull the trigger and pay the money,” says Hanke. But he’s confident it will happen. “People will see it’s profitable, and they will jump in.”

Bitcoin’s first mover advantage, popularity, and network effect has cemented it as the most popular cryptocurrency with the largest market cap. Rivals like Litecoin may have numerous technical advantages over Bitcoin’s algorithm (see more about that here), but they only hold a fraction of Bitcoin’s market cap and their dwindling communities largely consist of loyalists, speculators, and antagonistic anti-Bitcoin buyers.
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.
As specified by the Bitcoin protocol, each miner is rewarded by each block mined.  Currently, that reward is 12.5 new Bitcoins for each block mined. The Bitcoin block mining reward halves every 210,000 blocks, when the coin reward will decrease from 12.5 to 6.25 coins.  Currently, the total number of Bitcoins left to be mined amounts to 4,293,388. This means that 16,706,613 Bitcoins are in circulation, and that the total number of blocks available until mining reward is halved is 133,471 blocks till 11:58:04 12th Jun, 2020 When the mining reward will be halved.

To heighten financial privacy, a new bitcoin address can be generated for each transaction.[113] For example, hierarchical deterministic wallets generate pseudorandom "rolling addresses" for every transaction from a single seed, while only requiring a single passphrase to be remembered to recover all corresponding private keys.[114] Researchers at Stanford and Concordia universities have also shown that bitcoin exchanges and other entities can prove assets, liabilities, and solvency without revealing their addresses using zero-knowledge proofs.[115] "Bulletproofs," a version of Confidential Transactions proposed by Greg Maxwell, have been tested by Professor Dan Boneh of Stanford.[116] Other solutions such Merkelized Abstract Syntax Trees (MAST), pay-to-script-hash (P2SH) with MERKLE-BRANCH-VERIFY, and "Tail Call Execution Semantics", have also been proposed to support private smart contracts.

Bitcoin's price is also quite dependent on the size of its mining network, since the larger the network is, the more difficult – and thus more costly – it is to produce new bitcoins. As a result, the price of bitcoin has to increase as its cost of production also rises. The Bitcoin mining network's aggregate power has more than tripled over the past twelve months.
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.
As Bitcoin’s adoption and value grew, the justification to produce more powerful, power-efficient and economical devices warranted the significant engineering investments in order to develop the final and current iteration of Bitcoin mining semiconductors. ASICs are super-efficient chips whose hashing power is multiple orders of magnitude greater than the GPUs and FPGAs that came before them. Succinctly, it’s a custom Bitcoin engine capable of securing the network far more effectively than before.
Let’s start with what it’s not doing. Your computer is not blasting through the cavernous depths of the internet in search of digital ore that can be fashioned into bitcoin bullion. There is no ore, and bitcoin mining doesn’t involve extracting or smelting anything. It’s called mining only because the people who do it are the ones who get new bitcoins, and because bitcoin is a finite resource liberated in small amounts over time, like gold, or anything else that is mined. (The size of each batch of coins drops by half roughly every four years, and around 2140, it will be cut to zero, capping the total number of bitcoins in circulation at 21 million.) But the analogy ends there.
Desktop wallets are installed on a desktop computer and provide the user with complete control over the wallet. Desktop wallets enable the user to create a Bitcoin address for sending and receiving the Bitcoins. They also allow the user to store a private key. A few known desktop wallets are Bitcoin Core, MultiBit, Armory, Hive OS X, Electrum, etc.

The successful miner finding the new block is rewarded with newly created bitcoins and transaction fees.[83] As of 9 July 2016,[84] the reward amounted to 12.5 newly created bitcoins per block added to the blockchain. To claim the reward, a special transaction called a coinbase is included with the processed payments.[3]:ch. 8 All bitcoins in existence have been created in such coinbase transactions. The bitcoin protocol specifies that the reward for adding a block will be halved every 210,000 blocks (approximately every four years). Eventually, the reward will decrease to zero, and the limit of 21 million bitcoins[f] will be reached c. 2140; the record keeping will then be rewarded solely by transaction fees.[85]

About a year and a half after the network started, it was discovered that high end graphics cards were much more efficient at bitcoin mining and the landscape changed. CPU bitcoin mining gave way to the GPU (Graphical Processing Unit). 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.
An additional passphrase can be added to the 24-word seed. This provides extra protection, since anyone who finds someone else’s 24-word seed is free to access the funds. If the optional passphrase is added, an attacker still wouldn’t be able to access funds without both the seed AND the passphrase. If the passphrase is forgotten, it cannot be recovered.
Despite having similar needs, there is a good deal of diversity in how chip designers build their hashing engines, says Hanke, who also served as the chief technology officer of a now-defunct mining rig manufacturer called CoinTerra. For example, Bitmain uses pipelining—a strategy that links the steps in a process into a chain in which the output of one step is the input of the next. Bitmain competitor BitFury has chosen not to use that technology.
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.
Bitcoin mining is a peer-to-peer process of adding data into Bitcoin’s public ledger in order to verify and secure a contract. Groups of recorded transactions are gathered in blocks and then added into the Bitcoin blockchain. Bitcoin mining requires a lot of resources to protect the network from the possibility of altering past transaction data by making all attempts in changing blocks inefficient for the intruder. Bitcoin mining is rewarded by the network through transaction fees and subsidies of new coins to encourage miners to spend their resources on mining new Bitcoin blocks. As Bitcoin mining is increasingly difficult, it has become impossible to attempt mining as an individual. As a result, most Bitcoin mining is being done by mining pools, which include several participants sharing their reward. Bitcoin mining is controversial, as it is a great tool for securing transactions but complicating the scaling of the network. 
While there is certainly the possibility of making short-term profits in Bitcoin, many market participants are viewing an investment in Bitcoin as a long-term play. If the cryptocurrency were to eventually become a favored form of global payment and remittance, there is no telling just how high prices could go. Some have even suggested that the price of Bitcoin could hit $50,000 in 2018 and eventually $1 million.
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.”
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 utilities’ larger challenge comes from the legitimate commercial operators, whose appetite for megawatts has upended a decades-old model of publicly owned power. The combined output of the basin’s five dams averages around 3,000 megawatts, or enough for the population of Los Angeles. Until fairly recently, perhaps 80 percent of this massive output was exported via contracts that were hugely advantageous for locals. Cryptocurrency mining has been changing all that, to a degree that is only now becoming clear. By the end of 2018, Carlson reckons the basin will have a total of 300 megawatts of mining capacity. But that is nothing compared to what some hope to see in the basin. Over the past 12 months or so, the three public utilities reportedly have received applications and inquiries for future power contracts that, were they all to be approved, could approach 2,000 megawatts—enough to consume two-thirds of the basin’s power output.
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.
Miners found other advantages. The cool winters and dry air helped reduce the need for costly air conditioning to prevent their churning servers from overheating. As a bonus, the region was already equipped with some of the nation’s fastest high-speed internet, thanks to the massive fiber backbone the data centers had installed. All in all, recalls Miehe, the basin was bitcoin’s “killer app.”
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.[81] 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.[64]