Skip to main content

How does mining take place?

How does mining take place?

People are sending bitcoins to each other over the bitcoin network all the time, but unless someone keeps a record of all these transactions, no-one would be able to keep track of who had paid what. The bitcoin network deals with this by collecting all of the transactions made during a set period into a list, called a block. It’s the miners’ job to confirm those transactions, and write them into a general ledger.

Making a hash of it


This general ledger is a long list of blocks, known as the 'blockchain'. It can be used to explore any transaction made between any bitcoin addresses, at any point on the network. Whenever a new block of transactions is created, it is added to the blockchain, creating an increasingly lengthy list of all the transactions that ever took place on the bitcoin network. A constantly updated copy of the block is given to everyone who participates, so that they know what is going on.
But a general ledger has to be trusted, and all of this is held digitally. How can we be sure that the blockchain stays intact, and is never tampered with? This is where the miners come in.
When a block of transactions is created, miners put it through a process. They take the information in the block, and apply a mathematical formula to it, turning it into something else. That something else is a far shorter, seemingly random sequence of letters and numbers known as a hash. This hash is stored along with the block, at the end of the blockchain at that point in time.
Hashes have some interesting properties. It’s easy to produce a hash from a collection of data like a bitcoin block, but it’s practically impossible to work out what the data was just by looking at the hash. And while it is very easy to produce a hash from a large amount of data, each hash is unique. If you change just one character in a bitcoin block, its hash will change completely.
Miners don’t just use the transactions in a block to generate a hash. Some other pieces of data are used too. One of these pieces of data is the hash of the last block stored in the blockchain.
Because each block’s hash is produced using the hash of the block before it, it becomes a digital version of a wax seal. It confirms that this block – and every block after it – is legitimate, because if you tampered with it, everyone would know.
If you tried to fake a transaction by changing a block that had already been stored in the blockchain, that block’s hash would change. If someone checked the block’s authenticity by running the hashing function on it, they’d find that the hash was different from the one already stored along with that block in the blockchain. The block would be instantly spotted as a fake.
Because each block’s hash is used to help produce the hash of the next block in the chain, tampering with a block would also make the subsequent block’s hash wrong too. That would continue all the way down the chain, throwing everything out of whack.


If you like this post, share it on Facebook, twitter, Google+ and do subscribe to our newsletter to keep receiving updates about our Upcoming Bitcoin Topics.

Comments

Popular posts from this blog

Top 40 Bitcoin Exchanges

The Best Bitcoin Exchanges When it comes to finding the best bitcoin exchange  things are not all that easy. Why is this so? Simply because many of the best sites to buy bitcoin are rather recently online. This means that they have had little to get the word out about their services and products. Most people coming to this page will be asking how to buy bitcoin online through a secure means. Well, here is a good starting point. Let’s see how. First thing to consider when looking for the top bitcoin exchange is how safe are the website and server. This boils down to asking: is it a trustworthy exchange providing transparent data of coins in cold storage (more on this later) and are customers happy? It’s also good to lookout for which currency pairs are available: are you looking to trade bitcoin for USD, Euros, or other fiat currencies. The location usually gives an idea of what’s on offer. However, the  largest bitcoin sites  usually have ma...

Top 25 CPM AdNetworks For Publishers (Updated )

Top 25 Ad Networks For Publishers (Updated ) Whenever someone talks about monetization, invariably, the first thing that pops up into the mind is Google AdSense. And while there’s nothing particularly wrong with that—it is, after all, the world’s largest ad network, but to sit on an assumption that AdSense can’t be outdone by anyone isn’t wise. The ad tech industry is highly disruptive and it wouldn’t be a stretch to say that Google has competitors who give them a good run for their money. It may take a lot of hit and trial to figure out which ad network, or even combination of ad networks, generate the highest revenue for you, but when you finally do figure it out—it would’ve been well worth the effort. Here are a few networks that you must check out in 2017. 1. Adsterra Network Adsterra is a premium advertising network serving over 10 billion geo-targeted ad impression per month. They support publishers from all verticals and guarantee 100% monet...

Earn Bitcoins By Compleating Micro Tasks EASY !

Completing Microtasks for Bitcoin You can also earn bitcoins by completing micro-tasks on the following platforms: Protask  Is the best microtasks site due to his high payong and the 1$ refferal system and instant paiement Bituro  is a smartphone app that pays you in bitcoins for small tasks, such as watching promotional videos, filling out surveys and testing apps. Bitcoin Reward  enables you to earn for watching videos, downloading and testing apps, filling out market research surveys and other minor tasks. Coinbucks  is a smartphone app that allows you to earn bitcoins for playing mobile games, downloading smartphone apps and completing online promotional offers. If you like this post, share it on Facebook, twitter, Google+ and do subscribe to our newsletter to keep receiving updates about our Upcoming Bitcoin Topics. #Bitcoin #earn #Free #cash #Tasks #jobs https://www.protask.site/?r=138047