Majority consensus in bitcoin is represented by the longest chain, which required the greatest amount of effort to produce. If a majority of computing power is controlled by honest nodes, the honest chain will grow fastest and outpace any competing chains. To modify a past block, an attacker would have to redo the proof-of-work of that block and all blocks after it and then surpass the work of the honest nodes. The probability of a slower attacker catching up diminishes exponentially as subsequent blocks are added.[3]
Bitcoin mining is the process by which the transaction information distributed within the Bitcoin network is validated and stored on the blockchain. Bitcoin mining serves to both add transactions to the block chain and to release new Bitcoin. The concept of Bitcoin mining is simply the process of generating additional Bitcoins until the supply cap of 21 million coins has been reached.  What makes the validation process for Bitcoin different from traditional electronic payment networks is the absence of middle man in the architecture. The process of validating transactions and committing them to the blockchain involves solving a series of specialized math puzzles. In the process of adding transactions to the network and securing them into the blockchain, each set of transactions that are processed is called block, and multiple chains of blocks is referred to as the blockchain.
Researchers have pointed out at a "trend towards centralization". Although bitcoin can be sent directly to the bitcoin network, in practice intermediaries are widely used.[30]:220–222 Bitcoin miners join large mining pools to minimize the variance of their income.[30]:215, 219–222[107]:3[108] Because transactions on the network are confirmed by miners, decentralization of the network requires that no single miner or mining pool obtains 51% of the hashing power, which would allow them to double-spend coins, prevent certain transactions from being verified and prevent other miners from earning income.[109] As of 2013 just six mining pools controlled 75% of overall bitcoin hashing power.[109] In 2014 mining pool obtained 51% hashing power which raised significant controversies about the safety of the network. The pool has voluntarily capped their hashing power at 39.99% and requested other pools to act responsibly for the benefit of the whole network.[110]
The difficulty is rapidly doubling, so in a year (2019) your 14 hash rate(Can be as low as 11) on your $1500 non over gouged S9 (or $2500-$3000 gouged) is going in effect has the same as 7 in what’s it worth to you. Increases of 10% a month or so. At btc current prices, and current electrical prices (using avg of .10) , you will cease to pay for electricity in a yrs time taking the complexity of the work it’s doing rising at that rate. Add on top of that the fact it’s a machine, running 24/7,you’ve really… Read more »
On 1 August 2017, a hard fork of bitcoin was created, known as Bitcoin Cash.[103] Bitcoin Cash has a larger block size limit and had an identical blockchain at the time of fork. On 24 October 2017 another hard fork, Bitcoin Gold, was created. Bitcoin Gold changes the proof-of-work algorithm used in mining, as the developers felt that mining had become too specialized.[104]

Bitcoin mining is a lot like a giant lottery where you compete with your mining hardware with everyone on the network to earn bitcoins. Faster Bitcoin mining hardware is able to attempt more tries per second to win this lottery while the Bitcoin network itself adjusts roughly every two weeks to keep the rate of finding a winning block hash to every ten minutes. In the big picture, Bitcoin mining secures transactions that are recorded in Bitcon's public ledger, the block chain. By conducting a random lottery where electricity and specialized equipment are the price of admission, the cost to disrupt the Bitcoin network scales with the amount of hashing power that is being spent by all mining participants.
From a widespread adoption standpoint: for the typical consumer, Bitcoin is technically challenging and cumbersome to use for the inexperienced. They also forfeit the consumer protections afforded by traditional credit and debt cards. Merchants already have incentive to accept it in the form of reduced fees for accepting payments over typical payment processors.
Skipping over the technical details, finding a block most closely resembles a type of network lottery. For each attempt to try and find a new block, which is basically a random guess for a lucky number, a miner has to spend a tiny amount of energy. Most of the attempts fail and a miner will have wasted that energy. Only once about every ten minutes will a miner somewhere succeed and thus add a new block to the blockchain.
Each time you request blockchain data from a wallet, the server may be able to view your IP address and connect this to the address data requested. Each wallet handles data requests differently. If privacy is important to you, use a wallet that downloads the whole blockchain like Bitcoin Core or Armory. Tor can be used with other wallets to shield your IP address, but this doesn’t prevent a server from tying a group of addresses to one identity. For more information, check out the Open Bitcoin Privacy Project for wallet rankings based on privacy.
Mining is the process of adding transaction records to Bitcoin's public ledger of past transactions (and a "mining rig" is a colloquial metaphor for a single computer system that performs the necessary computations for "mining". This ledger of past transactions is called the block chain as it is a chain of blocks. The blockchain serves to confirm transactions to the rest of the network as having taken place. Bitcoin nodes use the blockchain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.
All of which leaves the basin’s utilities caught between a skeptical public and a voracious, energy-intense new sector that, as Bolz puts it, is “looking at us in a predatory sense.” Indeed, every utility executive knows that to reject an application for a load, even one load so large as to require new transmission lines or out-of-area imports, is to invite a major legal fight. “If you can afford 100 megawatts,” Bolz says, “you can afford a lot of attorneys.”
Benny: The Rogue Miner “Benny,” a self-taught, 20-something computer whiz, set up three mining servers in his Wenatchee home last summer. Since then he has made enough profit not only to recover his initial investment but also to pay his monthly mortgage. As a bonus, the heat from the computers keeps his home heated all winter. “It’s just basically free money,” says Benny, pictured here with his homemade mining operation. | Patrick Cavan Brown for Politico Magazine

Electrum gets high marks for its ease of use and user interface, which is always nice, but the real reason it's the best bitcoin wallet for desktop is its safety and reliability. Like any desktop wallet that's worth its salt, users get to control their private key; Electrum doesn't know what it is. Since your private key, a long string of letters and numbers, gives you access to your bitcoin, you need to keep that, you know, private.

The Bitcoin mining network difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. It is recalculated every 2016 blocks to a value such that the previous 2016 blocks would have been generated in exactly two weeks had everyone been mining at this difficulty. This will yield, on average, one block every ten minutes.
Lightweight clients consult full clients to send and receive transactions without requiring a local copy of the entire blockchain (see simplified payment verification – SPV). This makes lightweight clients much faster to set up and allows them to be used on low-power, low-bandwidth devices such as smartphones. When using a lightweight wallet, however, the user must trust the server to a certain degree, as it can report faulty values back to the user. Lightweight clients follow the longest blockchain and do not ensure it is valid, requiring trust in miners.[92]
The receiver of the first bitcoin transaction was cypherpunk Hal Finney, who created the first reusable proof-of-work system (RPOW) in 2004.[21] Finney downloaded the bitcoin software on its release date, and on 12 January 2009 received ten bitcoins from Nakamoto.[22][23] Other early cypherpunk supporters were creators of bitcoin predecessors: Wei Dai, creator of b-money, and Nick Szabo, creator of bit gold.[24] In 2010, the first known commercial transaction using bitcoin occurred when programmer Laszlo Hanyecz bought two Papa John's pizzas for 10,000 bitcoin.[25]