我正在尝试在configtx.yaml文件内的策略定义中添加自定义节点 OU 。策略定义位于 configtx.yaml 文件的应用程序部分,如下所示:
Application: &ApplicationDefaults
# Organizations is the list of orgs which are defined as participants on
# the application side of the network
ACLs: &ACLsDefault
peer/Propose: /Channel/Application/Checkous
Organizations:
# Policies defines the set of policies at this level of the config tree
# For Application policies, their canonical path is
# /Channel/Application/<PolicyName>
Policies:
Readers:
Type: ImplicitMeta
Rule: "ANY Readers"
Writers:
Type: ImplicitMeta
Rule: "ANY Writers"
Admins:
Type: ImplicitMeta
Rule: "MAJORITY Admins"
Checkous:
Type: Signature
Rule: …Run Code Online (Sandbox Code Playgroud) hyperledger-fabric organizational-unit hyperledger-fabric-ca