Bitcoin mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady. Individual blocks must contain a proof of work to be considered valid. This proof of work is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses the hashcash proof-of-work function.
Every 2,016 blocks (approximately 14 days at roughly 10 min per block), the difficulty target is adjusted based on the network's recent performance, with the aim of keeping the average time between new blocks at ten minutes. In this way the system automatically adapts to the total amount of mining power on the network.:ch. 8 Between 1 March 2014 and 1 March 2015, the average number of nonces miners had to try before creating a new block increased from 16.4 quintillion to 200.5 quintillion.
Some wallets, like Electrum, allow you choose in how many blocks your transaction should be confirmed. The faster you want your payment to go through, the more you will have to pay miners for confirming your activity. We find here another difference between Bitcoin wallets and Bank accounts. Given the right wallet, the control and oversight that we have over our transactions is far more extensive than that of the traditional banking system.
During mining, your Bitcoin mining hardware runs a cryptographic hashing function (two rounds of SHA256) on what is called a block header. For each new hash that is tried, the mining software will use a different number as the random element of the block header, this number is called the nonce. Depending on the nonce and what else is in the block the hashing function will yield a hash which looks something like this:
For local cryptocurrency enthusiasts, these slings and arrows are all very much worth enduring. They believe not only that cryptocurrency will make them personally very wealthy, but also that this formerly out-of-the-way region has a real shot at becoming a center—and maybe the center—of a coming technology revolution, with the well-paid jobs and tech-fueled prosperity that usually flow only to gilded “knowledge” hubs like Seattle and San Francisco. Malachi Salcido, a Wenatchee building contractor who jumped into bitcoin in 2014 and is now one of the basin’s biggest players, puts it in sweeping terms. The basin, he tells me, is “building a platform that the entire world is going to use.”
Backtracking a bit, let's talk about "nodes." A node is a powerful computer that runs the bitcoin software and helps to keep bitcoin running by participating in the relay of information. Anyone can run a node, you just download the bitcoin software (free) and leave a certain port open (the drawback is that it consumes energy and storage space – the network at time of writing takes up about 145GB). Nodes spread bitcoin transactions around the network. One node will send information to a few nodes that it knows, who will relay the information to nodes that they know, etc. That way it ends up getting around the whole network pretty quickly.
Nakamoto is estimated to have mined one million bitcoins 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. Andresen then sought to decentralize control. This left opportunity for controversy to develop over the future development path of bitcoin.