How can I modify hyperledger's blockchain endorsement policy?

0 votes

 I understand that not all peers need to be endorsing peers but generally, what would be the minimum acceptable number in terms of total number of peers? Of course it varies from application to application, but would be nice to have some guideline/insights.

Jun 4, 2018 in Blockchain by Christine
• 15,790 points
109 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

The number of peers is of lesser significance than the number of organizations. The idea behind the endorsement policy, is that the peer block processing logic wants to be able to "know" that the transaction contains a write set (values that mutate the world state) which was executed "correctly". Now, imagine that you have a chaincode which 3 organizations use. You would not want to have an endorsement policy of "Org1.member or org2.member or org3.member" because that would mean that if any of the organizations (1,2,3) is malicious, it could dictate anything it wants, and completely ignore the chaincode business rules. So, ideally you would want to have an endorsement policy that proves that a majority of the organizations agree to a certain execution result, and therefore set it to something like "2 of the 3 organizations".

answered Jun 4, 2018 by Shashank
• 10,330 points

Related Questions In Blockchain

0 votes
1 answer

How can I modify stored data in blockchain??

One of the important feature of a ...READ MORE

answered Apr 18, 2018 in Blockchain by Christine
• 15,790 points
22 views
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
• 16,450 points
26 views
0 votes
1 answer

How can i create a simple P2P network on a blockchain?

To develop your own cryptocurrency, you need ...READ MORE

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

How can I synchronize smart contract on blockchain?

This is how it is on Blockchain. ...READ MORE

answered May 29, 2018 in Blockchain by Perry
• 16,450 points
18 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I get into the development of blockchain decentralized applications?

try Microsoft Blockchain as a service, they ...READ MORE

answered Jun 29, 2018 in Blockchain by Shashank
• 10,330 points
13 views
0 votes
1 answer

How can I retrieve to and from address in transaction directly from blockchain?

The spending conditions, i.e., who is able ...READ MORE

answered Jul 11, 2018 in Blockchain by Shashank
• 10,330 points
46 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.