Pool
Pool

Reputation: 101

Hyperledger Fabric - Role of member vs peer

From the official documentation,

An identity should be classified as

So what is the role of a member ?

I know member is used in specifying policies ("OR('Org1MSP.member', 'Org2MSP.member')") but how does it relate to or differ from a peer or client?

Upvotes: 1

Views: 497

Answers (1)

Li Xian
Li Xian

Reputation: 411

member means you can use any member of an org's MSP,for instance,you can use admin,peer,client.

you can reference https://hyperledger-fabric.readthedocs.io/en/release-2.2/endorsement-policies.html#endorsement-policy-syntax

Here are a few examples of valid principals:

  • 'Org0.admin': any administrator of the Org0 MSP
  • 'Org1.member': any member of the Org1 MSP
  • 'Org1.client': any client of the Org1 MSP
  • 'Org1.peer': any peer of the Org1 MSP

Upvotes: 2

Related Questions