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,270 points
97 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
• 26,670 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, 2019 in Blockchain by Omkar
• 69,040 points
209 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,360 points

edited Aug 7, 2018 by Omkar 186 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,810 points
89 views
+1 vote
4 answers

How PBFT algorithm works?

PBFT is a way for a distributed ...READ MORE

answered Apr 25, 2019 in Blockchain by Kiran
3,206 views
0 votes
1 answer
0 votes
1 answer