How Blockchain works Pt II

To generate an output hash with desired amount of 0’s in the beginning, miners will add “nonce”. Nonce is a number/ value that can only be used once. The nonce will be put inside the block before running it through the algorithm.

As small changes to input will completely change output, miners usually try random nonces until they find a valid output hash.

Once block is mined, miner broadcasts the newly mined block to all other miners. Then, they will check the block is valid so they can add that to their version of the blockchain and transaction is complete.

However, in block, miners needs to include output hash from previous block so they are all connected, which is why they are called a blockchain.

Every miner has their own version of the blockchain inside their computer and everyone trusts the blockchain that has the most computational work put into it also known as the miner with the longest blockchain.

If a miner changes a transaction in the previous block, the output hash will also change and so does the block that leads to the other hashes. In this situation, miner will have to redo the work for the rest except his.

So even if a miner wanted to cheat, he will need more than 50% of his networks computing power and that is unlikely to happen. Network attacks/ cheats like these are called 51% attacks.

Source: https://academy.binance.com/en/glossary/blockchain

Get started with Kuick and follow us on our social media channels:

Instagram

Facebook

Linkedin

TikTok

Kuick’s Shopify App

Kuick: LIVE Shopping APP

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kuick: LIVE Shopping APP

Kuick: LIVE Shopping APP

Kuick is a new interactive LIVE Shopping APP. Follow us on Linkedin! https://tinyurl.com/KuickLinkedinDetails. For more details > https://www.monde.biz/kuick