For the bitcoin timestamp network, a valid proof of work is found by incrementing a nonce until a value is found that gives the block's hash the required number of leading zero bits. Once the hashing has produced a valid result, the block cannot be changed without redoing the work. As later blocks are chained after it, the work to change the block would include redoing the work for each subsequent block.

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.

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:
Hardware wallets are by far the most secure kind of Bitcoin wallet, as they store Bitcoins on a physical piece of equipment, generally plugged into a computer via a USB port. They are all but immune to virus attacks and very few instances of Bitcoin theft have been reported. These devices are the only Bitcoin wallets which aren't free, and they often cost $100 to $200. 
Press Contacts: San Francisco, CA, Kerryn Lloyd, [email protected] San Francisco, CA – August 28, 2018 –The Bitcoin Foundation has received a commitment of $200,000 for its 2018/2019 plan - $100,000 from Brock Pierce, a venture capitalist, philanthropist, serial entrepreneur and Chairman of the Bitcoin Foundation and a further $100,000 commitment [...]
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.

Bitcoin cloud mining can be a tricky thing to determine if it’s completely safe in the Bitcoin world, and if it is, will it be cost effective? The return on your investment can be longer than other alternatives such as buying and selling Bitcoin. This can be due to the fees involved, the time it takes to mine, the upfront costs and the value of Bitcoin during that time. The upside is that if the costs are reasonable, the cloud mining operation has good rewards and the price of Bitcoin rises, you will more than likely end up making a healthy return on your investment.

Many also fear that the new mines will suck up so much of the power surplus that is currently exported that local rates will have to rise. In fact, miners’ appetite for power is growing so rapidly that the three counties have instituted surcharges for extra infrastructure, and there is talk of moratoriums on new mines. There is also talk of something that would have been inconceivable just a few years ago: buying power from outside suppliers. That could mean the end of decades of ultracheap power—all for a new, highly volatile sector that some worry may not be around long anyway. Indeed, one big fear, says Dennis Bolz, a Chelan County Public Utility commissioner, is that a prolonged price collapse will cause miners to abandon the basin—and leave ratepayers with “an infrastructure that may or may not have a use.”
Wallets and similar software technically handle all bitcoins as equivalent, establishing the basic level of fungibility. Researchers have pointed out that the history of each bitcoin is registered and publicly available in the blockchain ledger, and that some users may refuse to accept bitcoins coming from controversial transactions, which would harm bitcoin's fungibility.[117]
What separated these survivors from the quitters and the double-downers, Carlson concluded, was simply the price of electricity. Survivors either lived in or had moved to places like China or Iceland or Venezuela, where electricity was cheap enough for bitcoin to be profitable. Carlson knew that if he could find a place where the power wasn’t just cheap, but really cheap, he’d be able to mine bitcoin both profitably and on an industrial scale.

After some months later, after the network started, it was discovered that high end graphics cards were much more efficient at Bitcoin mining. The Graphical Processing Unit (GPU) handles complex 3D imaging algorithms, therefore, CPU Bitcoin mining gave way to the GPU. 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. But this still wasn’t the most power-efficient option, as both CPUs and GPUs were very efficient at completing many tasks simultaneously, and consumed significant power to do so, whereas Bitcoin in essence just needed a processor that performed its cryptographic hash function ultra-efficiently.
On 24 August 2017 (at block 481,824), Segregated Witness (SegWit) went live. Transactions contain some data which is only used to verify the transaction, and does not otherwise effect the movement of coins. SegWit introduced a new transaction format that moved this data into a new field in a backwards-compatible way. The segregated data, the so-called witness, is not sent to non-SegWit nodes and therefore does not form part of the blockchain as seen by legacy nodes. This lowers the size of the average transaction in such nodes' view, thereby increasing the block size without incurring the hard fork implied by other proposals for block size increases. Thus, per computer scientist Jochen Hoenicke, the actual block capacity depends on the ratio of SegWit transactions in the block, and on the ratio of signature data. Based on his estimate, if the ratio of SegWit transactions is 50%, the block capacity may be 1.25 megabytes. According to Hoenicke, if native SegWit addresses from Bitcoin Core version 0.16.0 are used, and SegWit adoption reaches 90% to 95%, a block size of up to 1.8 megabytes is possible.[citation needed]
Regulatory Risk: Bitcoins are a rival to government currency and may be used for black market transactions, money laundering, illegal activities or tax evasion. As a result, governments may seek to regulate, restrict or ban the use and sale of bitcoins, and some already have. Others are coming up with various rules. For example, in 2015, the New York State Department of Financial Services finalized regulations that would require companies dealing with the buy, sell, transfer or storage of bitcoins to record the identity of customers, have a compliance officer and maintain capital reserves. The transactions worth $10,000 or more will have to be recorded and reported.
Because it's similar to gold mining in that the bitcoins exist in the protocol's design (just as the gold exists underground), but they haven't been brought out into the light yet (just as the gold hasn't yet been dug up). The bitcoin protocol stipulates that 21 million bitcoins will exist at some point. What "miners" do is bring them out into the light, a few at a time.
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