How is the ledger kept consistent among differnt peers in blockchain?

0 votes

In a blockchain system like bitcoin, each peer (participate node) keeps a full copy of the ledger. A peer updates its copy of ledger when it receives and validates a newly arrived block. However, the peers are scattered around the globe, and the network latency among these peers varies a lot. Therefore, how the blockchain system guarantees that all the peers have finished updating their copies of ledger after a block has been propagated?

May 25, 2018 in Blockchain by Shashank
• 10,350 points
29 views

1 answer to this question.

0 votes

Bitcoin doesn't guarantee that all ledgers become updated at the same time, bitcoin blockchain provides you with consistent ledger following:

  1. Proof-of-work to cut new block with set of transactions
  2. Longest chain rule

Above guaranties you that if there no more than 51% of the network controlled by one group you will eventually see consistent ledger, e.g. given your ledger at block sequence number 1001 means all nodes in the network will see identical chain of blocks until 1001.

To your question bitcoins use random overlay network to distribute new blocks (pretty similar to gossip algorithm).

answered May 25, 2018 by Johnathon
• 9,080 points

Related Questions In Blockchain

+1 vote
1 answer
+1 vote
1 answer

How do i change the names of validating peers in IBM Bluemix blockchain?

IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE

answered Apr 10, 2018 in Blockchain by Perry
96 views
0 votes
1 answer

In a Blockchain, how difficult is it to modify the third to last block?

Technically, it's not difficult at all, all ...READ MORE

answered Apr 20, 2018 in Blockchain by Christine
• 15,790 points
65 views
+1 vote
1 answer

How the data stored in the blockchain is verified?

Hey @mayukha. When a transaction is is ...READ MORE

answered May 20 in Blockchain by Rajendra
39 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,640 points
67 views
+15 votes
5 answers
+1 vote
1 answer
0 votes
1 answer

How a transaction validity is verified in blockchain?

Blockchain has the records the of all ...READ MORE

answered May 11, 2018 in Blockchain by Johnathon
• 9,080 points
40 views