What bitcoin miners actually do could be better described as competitive bookkeeping. Miners build and maintain a gigantic public ledger containing a record of every bitcoin transaction in history. Every time somebody wants to send bitcoins to somebody else, the transfer has to be validated by miners: They check the ledger to make sure the sender isn’t transferring money she doesn’t have. If the transfer checks out, miners add it to the ledger. Finally, to protect that ledger from getting hacked, miners seal it behind layers and layers of computational work—too much for a would-be fraudster to possibly complete.
The blocks chain is secured by the miners. Miners secure the block 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 the miner will attempt to create a new block that contains current transactions and new hash before any other miner does.
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.
In parts of the basin, utility crews now actively hunt unpermitted miners, in a manner not unlike the way police look for indoor cannabis farms. The biggest giveaway, Stoll says, is a sustained jump in power use. But crews have learned to look, and listen, for other telltales, such as “fans that are exhausting out of the garage or a bedroom.” In any given week, the utility flushes out two to five suspected miners, Stoll says. Some come clean. They pay for permits and the often-substantial wiring upgrades, or they quit. But others quietly move their servers to another residential location and plug back in. “It’s a bit of a cat-and-mouse game,” Stoll admits.
This spring, Bitmain caused a minor uproar when a developer found a “backdoor,” called Antbleed, in the firmware of Bitmain’s S9 Antminers. The backdoor could have been used by the company to track the location of its machines and shut them down remotely. While no computer purchaser would find such a vulnerability acceptable, it’s particularly troubling for Bitcoin.

But bitcoin is completely digital, and it has no third parties. The idea of an overseeing body runs completely counter to its ethos. So if you tell me you have 25 bitcoins, how do I know you’re telling the truth? The solution is that public ledger with records of all transactions, known as the block chain. (We’ll get to why it’s called that shortly.) If all of your bitcoins can be traced back to when they were created, you can’t get away with lying about how many you have.

To form a distributed timestamp server as a peer-to-peer network, bitcoin uses a proof-of-work system.[3] This work is often called bitcoin mining. The signature is discovered rather than provided by knowledge. This process is energy intensive.[4] Electricity can consume more than 90% of operating costs for miners.[5] A data center in China, planned mostly for bitcoin mining, is expected to require up to 135 megawatts of power.[6]
More fundamentally, miners argue that the current boom is simply the first rough step to a much larger technological shift that the basin would do well to get into early on. “What you can actually do with the technology, we’re only beginning to discover,” Salcido says. “But the technology requires a platform.” And, he says, as the world discovers what the blockchain can do, the global economy will increasingly depend on regions, like the basin, with the natural resources to run that platform as cheaply as possible. 

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.”
OpenDime is the making a name for itself as the “piggy bank” of cold storage units in the world of cryptocurrencies. It functions like other cold storage units with one key exception: one-time secure usage. That one key difference changes quite a lot in the way people use it. Other storage platforms act more like wallets to be used repeatedly with a reasonable degree of security. Whereas an OpenDime unit can be used extremely securely as an address to store Bitcoins until the owner needs to cash out, but only once. In a manner that directly parallels smashing open a piggy bank, once an OpenDime storage unit is “opened” it can no longer be used with the same degree of safety again. OpenDime is a platform that changes the intangible asset of Bitcoin into a physical thing that people can exchange between each other in the real world.
If the private key is lost, the bitcoin network will not recognize any other evidence of ownership;[30] the coins are then unusable, and effectively lost. For example, in 2013 one user claimed to have lost 7,500 bitcoins, worth $7.5 million at the time, when he accidentally discarded a hard drive containing his private key.[74] A backup of his key(s) would have prevented this.
Though transaction fees are optional, miners can choose which transactions to process and prioritize those that pay higher fees.[67] 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.[3]:ch. 8