Unauthorized spending is mitigated by bitcoin's implementation of public-private key cryptography. For example; when Alice sends a bitcoin to Bob, Bob becomes the new owner of the bitcoin. Eve observing the transaction might want to spend the bitcoin Bob just received, but she cannot sign the transaction without the knowledge of Bob's private key.[14]
2-3 Wallet: A 2-3 multisig wallet could be used to create secure offline storage with paper wallets or hardware wallets. Users should already backup their offline Bitcoin holdings in multiple locations, and multisig helps add another level of security. A user, for example, may keep a backup of a paper wallet in three separate physical locations. If any single location is compromised the user’s funds can be stolen. Multisignature wallets improve upon this by requiring instead any two of the three backups to spend funds--in the case of a 2-3 multisig wallet. The same setup can be created with any number of signatures. A 5-9 wallet would require any five of the nine signatures in order to spend funds.
Bitcoin solves the "double spending problem" of electronic currencies (in which digital assets can easily be copied and re-used) through an ingenious combination of cryptography and economic incentives. In electronic fiat currencies, this function is fulfilled by banks, which gives them control over the traditional system. With bitcoin, the integrity of the transactions is maintained by a distributed and open network, owned by no-one.

Of course, by the end of 2017, the players who were pouring into the basin weren’t interested in building 5-megawatt mines. According to Carlson, mining has now reached the stage where the minimum size for a new commercial mine, given the high levels of difficulty, will soon be 50 megawatts, enough for around 22,000 homes and bigger than one of Amazon Web Services’ immense data centers. Miehe, who has become a kind of broker for out-of-town miners and investors, was fielding calls and emails from much larger players. There were calls from China, where a recent government crackdown on cryptocurrency has miners trying to move operations as large as 200 megawatts to safer ground. And there was a flood of interest from players outside the sector, including big institutional investors from Wall Street, Miami, the Middle East, Europe and Japan, all eager to get in on a commodity that some believe could touch $100,000 by the end of the year. And not all the interest has been so civil. Stories abound of bitcoin miners using hardball tactics to get their mines up and running. Carlson, for example, says some foreign miners tried to bribe building and safety inspectors to let them cut corners on construction. “They are bringing suitcases full of cash,” Carlson says, adding that such ploys invariably backfire. Adds Miehe, “I mean, you know how they talk about the animal spirits—greed and fear? Well, right now, everyone is in full-greed mode.”
Correction (Dec. 18, 2013): An earlier version of this article incorrectly stated that the long pink string of numbers and letters in the interactive at the top is the target output hash your computer is trying to find by running the mining script. In fact, it is one of the inputs that your computer feeds into the hash function, not the output it is looking for.
Because of bitcoin's decentralized nature and its trading on online exchanges located in many countries, regulation of bitcoin has been difficult. However, the use of bitcoin can be criminalized, and shutting down exchanges and the peer-to-peer economy in a given country would constitute a de facto ban.[164] The legal status of bitcoin varies substantially from country to country and is still undefined or changing in many of them. Regulations and bans that apply to bitcoin probably extend to similar cryptocurrency systems.[165]

But here, Carlson and his fellow would-be crypto tycoons confronted the bizarre, engineered obstinacy of bitcoin, which is designed to make life harder for miners as time goes by. For one, the currency’s mysterious creator (or creators), known as “Satoshi Nakamoto,” programmed the network to periodically—every 210,000 blocks, or once every four years or so—halve the number of bitcoins rewarded for each mined block. The first drop, from 50 coins to 25, came on November 28, 2012, which the faithful call “Halving Day.” (It has since halved again, to 12.5, and is expected to drop to 6.25 in June 2020.)
Numerous people have been suggested as possible Satoshi Nakamotos by major media outlets. On Oct. 10, 2011, The New Yorker published an article speculating that Nakamoto might be Irish cryptography student Michael Clear, or economic sociologist Vili Lehdonvirta. A day later, Fast Company suggested that Nakamoto could be a group of three people – Neal King, Vladimir Oksman and Charles Bry – who together appear on a patent related to secure communications that was filed two months before bitcoin.org was registered. A Vice article published in May 2013 added more suspects to the list, including Gavin Andresen, the Bitcoin project’s lead developer; Jed McCaleb, co-founder of now-defunct Bitcoin exchange Mt. Gox; and famed Japanese mathematician Shinichi Mochizuki. 
Each block that is added to the blockchain, starting with the block containing a given transaction, is called a confirmation of that transaction. Ideally, merchants and services that receive payment in bitcoin should wait for at least one confirmation to be distributed over the network, before assuming that the payment was done. The more confirmations that the merchant waits for, the more difficult it is for an attacker to successfully reverse the transaction in a blockchain—unless the attacker controls more than half the total network power, in which case it is called a 51% attack.[17]
Nakamoto is estimated to have mined one million bitcoins[26] before disappearing in 2010, when he handed the network alert key and control of the code repository over to Gavin Andresen. Andresen later became lead developer at the Bitcoin Foundation.[27][28] Andresen then sought to decentralize control. This left opportunity for controversy to develop over the future development path of bitcoin.[29][28]