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,310 points
219 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,720 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

How to download the full blocks (with transactions) directly and in parallel from the connected nodes in NodesGroup?

 just got informed, that NBitcoin currently does ...READ MORE

answered Jul 31, 2018 in Blockchain by Shashank
• 10,400 points
161 views
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,150 points
466 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

answered Jul 28, 2020 in Blockchain by Rajiv
• 8,910 points
657 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,830 points
204 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
5,666 views
0 votes
1 answer
0 votes
1 answer