How to plug MSP,Consensus, Ordering service in Hyperledger Fabric?

0 votes
As Hyperledger Fabric uses module architecture, how can I plug in the modules like MSP, Consensus and Ordering Service.
Jun 27, 2018 in Blockchain by digger
• 26,550 points
302 views

1 answer to this question.

0 votes
Best answer
To plug in MSP:
Implement your own MSP and make it implement the MSP interface (link given below).
https://github.com/hyperledger/fabric/blob/master/msp/msp.go

For Consensus/Ordering service
You need to use a gRPC service that provides the AtomicBroadcast service. (link given below).
https://github.com/hyperledger/fabric/blob/master/protos/orderer/ab.proto#L71
answered Jun 27, 2018 by Omkar
• 67,660 points

selected Jun 27, 2018 by digger

Related Questions In Blockchain

0 votes
1 answer
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

answered Jun 13, 2018 in Blockchain by Perry
• 17,020 points
922 views
0 votes
1 answer

How to control a malicious user in hyperledger fabric?

Fabric is an implementation of blockchain. Blockchain ...READ MORE

answered Jun 29, 2018 in Blockchain by Omkar
• 67,660 points
197 views
0 votes
1 answer
0 votes
1 answer
+1 vote
4 answers
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
56 views
+15 votes
5 answers
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,660 points
413 views