MSP 层级 (Levels)

           通道MSPs和本地MSPs的区别还体现在组织对本地资源(例如:peer 节点或者orderer节点)和通道资源(例如:账本,智能合约,联盟)的管理需求上,该需求要求在通道层或网络层上操作。认识到MSPs作用到不同层级上,是非常有帮助的,高层级的MSPs关注网络管理,低层级的MSPs关注私有资源管理。MSPs必须指定在某个层级上—网络层,通道,peer节点,orderer节点,用户。

.

Network MSP: 通过在网络配置中定义参与组织的MSPs来确定网络成员,这些成员被授权执行一些管理任务(例如:创建通道)

Channel MSP: 通道独立的维护它成员的MSPs是非常重要的。通道在一组组织之间提供了私有的连接。Channel policies interpreted in the context of that channel’s MSPs define who has ability to participate in certain action on the channel, e.g., adding organizations, or instantiating chaincodes. Note that there is no necessary relationship between the permission to administrate a channel and the ability to administrate the network configuration channel (or any other channel). Administrative rights exist within the scope of what is being administrated (unless the rules have been written otherwise — see the discussion of the ROLE attribute below).

Peer MSP:被配置在每个peer的文件系统中的本地MSP,每个peer有单一的MSP实例。事实上,该MSPs执行和通道MSPs一样的功能,只是它的作用范围被限制在了定义它的peer上。

Orderer MSP: 同Peer Msp类似,只是它是作用在Orderer节点上。

你可能感兴趣的:(MSP 层级 (Levels))