How is consensus reached when there are only two peers in Hyperledger Fabric?

0 votes
Suppose there are only two nodes in the channel and one of them is a malicious node, if this malicious node tries to change the data or approve faulty transactions, how is consensus achieved in this situation?
Jul 5, 2018 in Blockchain by slayer
• 29,050 points
80 views

1 answer to this question.

0 votes
The consensus is achieved in the ordering services and not by peers. peers could send faulty transactions but cant manipulate the blockchain. The result of transaction depends on the smart contract that you have written and the endorsement policy.

The blocks are created by the Ordering Service and the blocks will be equal to both the peers.

To avoid this situation, an additional independent 3rd party peer can be added in each organization and these parties
should take up Ordering Services
answered Jul 5, 2018 by digger
• 27,630 points

Related Questions In Blockchain

0 votes
1 answer

How is consensus achieved in a Hyperledger Fabric?

The transactions in the network is ordered ...READ MORE

answered Jun 29, 2018 in Blockchain by Omkar
• 67,290 points
374 views
+1 vote
1 answer
+1 vote
1 answer

How immutability is achieved in hyperledger fabric?

Since it is a private blockchain platform, ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,010 points
275 views
0 votes
1 answer
0 votes
1 answer
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
123 views
0 votes
1 answer

Why is there no infinite loop problem in Hyperledger Fabric?

Hyperledger uses a timeout mechanism for chaincode ...READ MORE

answered Jul 29, 2018 in Blockchain by digger
• 27,630 points
88 views
0 votes
1 answer