How does the blockchain verification process work

+4 votes
Blockchain:

    |1|-|2|-|3|-{4}   - Bob Chain
    |1|-|2|-|3|-{4}   - Alice Chain

Assume both Bob and Alice found a new block, but it will not be verified until someone finds a next block. So my question is what is happening in a situation if Alice chain will gets a block |5| first in her chain. Will Bob get his reward for block |4| ? Can a single person earn anything from mining without a huge network ?
Mar 26, 2018 in Blockchain by Christine
• 15,790 points
2,760 views

4 answers to this question.

+3 votes
Best answer
First of all, when someone creates a block, he broadcasts it to the rest of the network. If there are two people that create the block at the same time, they will broadcast it. So, you will get two blocks at the same time. Although you save both blocks, you will try to mine one of them. After some time, one of the two branches will be longer, so you will delete the second one.

In Blockchain, a block is considered well when it has a few blocks above it. So, the reward is taken by the individual when one of the chains has a longer branch.
answered Mar 26, 2018 by Perry
• 17,100 points

selected Aug 6, 2018 by Omkar
What will happen when we are waiting for one of these two chains to get a block and become the longest chain, but again both the chains get the same new blocks at the same time?
The same process as mentioned above will continue until there is one chain with an extra block making it the long chain
+1 vote
Verification (simplified) is the process of running transactions through one way mathematical equations called hashes. When a new block is created, all of its transactions are hashed (in some cases, hashed many times), producing a unique result.

These results are verified by other nodes on the network by re-running the same mathematical equations with the same inputs and confirming that the output matches exactly. If the output doesn't match what that tells the node is that the inputs don't match, either due to an error or fraud, and the transaction should be ignored.
answered Oct 11, 2018 by Darin
+2 votes
Verification in blockchain is a consensus mechanism based process.Since blockchain acts as a decentralized ledger with multiple nodes in the network, the transaction must be verified by all nodes. All blockchains are continuous chains starting from a genesis block upto to the current block.

During the process of creating a new block, the transactions are hashed and a unique output or result is created. A hash function, takes input, and produces a specific output of a fixed size. It acts a digital fingerprint which cannot be modified.

The successive block in the chain contains a hash of the previous block and each block refers to its predecessor block for authentication. The transactions in a blockchain are referred to by their hash. For authentication of a transaction, all nodes must receive same output by running the hash. If different output is received then the transaction is considered invalid and is not verified.
answered Oct 11, 2018 by Tilak
+1 vote
Verification is a process of running the transactions in one way, mathematical equations called hashes. When new block is created, all of transactions are hashed. In some cases, they are hashed a lot of times.

They end up producing unique result. Other nodes verify the said results by running same mathematical equations, with same inputs confirming output matches exact.
answered Oct 11, 2018 by Stallon

Related Questions In Blockchain

0 votes
1 answer

How does the consensus mechanism work for a SaaS based blockchain?

Blockchain doesn't have the client-server architecture that ...READ MORE

answered Aug 1, 2018 in Blockchain by Christine
• 15,790 points
576 views
0 votes
1 answer

How does the architecture of a blockchain search work?

Hey there! There is no architecture called ...READ MORE

answered Mar 28, 2019 in Blockchain by Suman
655 views
+1 vote
1 answer

How does a blockchain work in hyperledger framework?

Hyperledger Composer simplifies application development on top ...READ MORE

answered Apr 19, 2018 in Blockchain by Christine
• 15,790 points
1,068 views
0 votes
1 answer

How does the consensus happen in Saas based blockchain application?

I will be maintaining the database at ...READ MORE

answered Jul 20, 2018 in Blockchain by aryya
• 7,460 points
648 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,922 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,426 views
0 votes
1 answer

Where does Hyperledger Fabric store the database for the Blockchain?

The Hyperledger Fabric stores the database in ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 17,100 points
2,356 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP