Last active
December 6, 2018 21:15
-
-
Save novaknole/07a9eb7cc79e6b597bb6bf003632758c to your computer and use it in GitHub Desktop.
channeldefaults
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Organizations: | |
- &OrdererOrg | |
Name: OrdererOrg | |
ID: OrdererMSP | |
MSPDir: ../crypto-config/ordererOrganizations/orderer-org/msp | |
- &ShopOrg | |
Name: ShopOrgMSP | |
ID: ShopOrgMSP | |
MSPDir: ../crypto-config/peerOrganizations/shop-org/msp | |
Policies: | |
AnchorPeers: | |
- Host: shop-peer-0 | |
Port: 7051 | |
Orderer: &OrdererDefaults | |
OrdererType: solo | |
Addresses: | |
- orderer0:7050 | |
BatchTimeout: 2s | |
BatchSize: | |
MaxMessageCount: 10 | |
AbsoluteMaxBytes: 99 MB | |
PreferredMaxBytes: 512 KB | |
Organizations: | |
Application: &ApplicationDefaults | |
Organizations: | |
Channel: &ChannelDefaults | |
# Policies defines the set of policies at this level of the config tree | |
# For Channel policies, their canonical path is | |
# /Channel/<PolicyName> | |
Policies: | |
# Who may invoke the 'Deliver' API | |
Readers: | |
Type: ImplicitMeta | |
Rule: "ANY Readers" | |
# Who may invoke the 'Broadcast' API | |
Writers: | |
Type: Signature | |
Rule: "OR('ShopOrgMSP.admin')" | |
# By default, who may modify elements at this config level | |
Admins: | |
Type: Signature | |
Rule: "OR('ShopOrgMSP.admin')" | |
# Capabilities describes the channel level capabilities, see the | |
# dedicated Capabilities section elsewhere in this file for a full | |
# description | |
Profiles: | |
TwoOrgGenesis: | |
<<: *ChannelDefaults | |
Orderer: | |
<<: *OrdererDefaults | |
Organizations: | |
- *OrdererOrg | |
Consortiums: | |
InsuranceConsortium: | |
Organizations: | |
- *ShopOrg | |
TwoOrgChannel: | |
Consortium: InsuranceConsortium | |
Application: | |
<<: *ApplicationDefaults | |
Organizations: | |
- *ShopOrg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment