How to achieve consensus with peers from different departments?

0 votes
I have a Hyperledger Fabric. There are a few organizations in it. Now i want to make a transaction with the content of 3 peers from one these organizatons (All 3 peers are in the same department on a single organization). How can i do it?
Jul 16, 2018 in Blockchain by slayer
• 29,050 points
47 views

1 answer to this question.

0 votes
Defining one MSP to represent each division. This would involve specifying for each division, a set of certificates for root CAs, intermediate CAs, and admin Certs, such that there is no overlapping certification path across MSPs. This would mean that, for example, a different intermediate CA per subdivision is employed. Here the disadvantage is the management of more than one MSPs instead of one, but this circumvents the issue present in the previous approach. One could also define one MSP for each division by leveraging an OU extension of the MSP configuration. (Source:http://hyperledger-fabric.readthedocs.io/en/latest/msp.html)

Once you have configured the MSP, find the channel that stipulated the transaction that needs to be endorsed and
then create an endorsement policy for that channel.

Ex: Suppose you have the identifiers Org1, Org2 and Org3 for the departments, then the code should be:
AND('Org1.member', 'Org2.member', 'Org3.member')
answered Jul 16, 2018 by digger
• 27,640 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to interact with blockchain from web application?

You can use the Web3.js library to interact ...READ MORE

answered Jan 11 in Blockchain by Omkar
• 67,460 points
56 views
+1 vote
1 answer

How is it possible to achieve privacy and confidentiality in smart contracts??

Any contract code written on the blockchain ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,350 points

edited Aug 7, 2018 by Omkar 104 views
0 votes
1 answer
0 votes
1 answer

What do we mean by a validating peer?

The term validating peer was used in ...READ MORE

answered Apr 19, 2018 in Blockchain by Christine
• 15,790 points
52 views
+1 vote
4 answers
0 votes
1 answer
0 votes
1 answer