Can someone explain me how PBFT works?

0 votes

Can anyone explain PBFT Algorithm in detail without giving any link for the same. And how it works in hyperledger. 

So, once the transaction is sent to the blockchain: (1). Who validates the transaction? (2). How the consensus is achieved on the transaction? (3). How the transaction is committed to the blockchain?

Jul 31, 2018 in Blockchain by Perry
• 17,020 points
128 views

1 answer to this question.

0 votes

You can submit your transaction to any of them, and this transaction will be broadcasted to other peers in the network. One of peer is elected as "leader". At the moment when a new block is going to be generated:

  1. The leader orders the transactions candidates that should be included in a block, and broadcasts this list of ordered transactions to all other validation peers in the network.
  2. When each of the Validation Peers receives the ordered list of transactions, each validation peer does the following:
    1. It starts executing the ordered transactions one by one.
    2. As soon as all the transactions are executed, it will calculate the hash code for the newly created bloc (the hash code includes hashes for executed transactions and final state of the world).
    3. Then it broadcasts its answer (the resulting hash code) to other peers in the network, and starts counting the responses from them.
    4. If it sees that 2/3 of all validation peers have the same hash code, it will commit the new block to its local copy of the ledger.
answered Jul 31, 2018 by Shashank
• 10,350 points

Related Questions In Blockchain

0 votes
1 answer

How can i read headers of blockchain in multichain?

You could use a recent feature known ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,020 points
51 views
+1 vote
4 answers
+1 vote
2 answers

Can I include real world data in a smart contract? If so, how?

You cant access/embed real world data using ...READ MORE

answered Jul 17, 2018 in Blockchain by sapan
74 views
+1 vote
1 answer

Hyperledger - How can I use transaction certificates to enforce privacy?

The transaction certificates don't actually address privacy ...READ MORE

answered Apr 17, 2018 in Blockchain by Perry
• 17,020 points
141 views
0 votes
1 answer
+1 vote
4 answers
0 votes
1 answer

How pbft is being used in blockchain?

PBFT can tolerate byzantine failures. For tolerating ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,020 points
90 views
0 votes
1 answer

Can someone pls explain the hyperledger consensus?

The multiple peers determine the validity of ...READ MORE

answered May 22, 2018 in Blockchain by Shashank
• 10,350 points
39 views
0 votes
1 answer