github.com/anjalikarhana/fabric@v2.1.1+incompatible/orderer/common/server/testdata/configtx.yaml (about) 1 # Copyright IBM Corp. All Rights Reserved. 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 # 5 6 --- 7 Organizations: 8 - &SampleOrg 9 Name: SampleOrg 10 ID: SampleOrg 11 MSPDir: crypto/ordererOrganizations/example.com/msp 12 Policies: &SampleOrgPolicies 13 Readers: 14 Type: Signature 15 Rule: "OR('SampleOrg.member')" 16 Writers: 17 Type: Signature 18 Rule: "OR('SampleOrg.member')" 19 Admins: 20 Type: Signature 21 Rule: "OR('SampleOrg.admin')" 22 AnchorPeers: 23 - Host: 127.0.0.1 24 Port: 7051 25 26 Capabilities: 27 Channel: &ChannelCapabilities 28 V1_3: true 29 Orderer: &OrdererCapabilities 30 V1_1: true 31 Application: &ApplicationCapabilities 32 V1_3: true 33 V1_2: false 34 V1_1: false 35 36 Application: &ApplicationDefaults 37 ACLs: &ACLsDefault 38 lscc/ChaincodeExists: /Channel/Application/Readers 39 lscc/GetDeploymentSpec: /Channel/Application/Readers 40 lscc/GetChaincodeData: /Channel/Application/Readers 41 lscc/GetInstantiatedChaincodes: /Channel/Application/Readers 42 qscc/GetChainInfo: /Channel/Application/Readers 43 qscc/GetBlockByNumber: /Channel/Application/Readers 44 qscc/GetBlockByHash: /Channel/Application/Readers 45 qscc/GetTransactionByID: /Channel/Application/Readers 46 qscc/GetBlockByTxID: /Channel/Application/Readers 47 cscc/GetConfigBlock: /Channel/Application/Readers 48 cscc/GetConfigTree: /Channel/Application/Readers 49 cscc/SimulateConfigTreeUpdate: /Channel/Application/Readers 50 peer/Propose: /Channel/Application/Writers 51 peer/ChaincodeToChaincode: /Channel/Application/Readers 52 event/Block: /Channel/Application/Readers 53 event/FilteredBlock: /Channel/Application/Readers 54 Organizations: 55 Policies: &ApplicationDefaultPolicies 56 Readers: 57 Type: ImplicitMeta 58 Rule: "ANY Readers" 59 Writers: 60 Type: ImplicitMeta 61 Rule: "ANY Writers" 62 Admins: 63 Type: ImplicitMeta 64 Rule: "MAJORITY Admins" 65 Capabilities: 66 <<: *ApplicationCapabilities 67 68 Orderer: &OrdererDefaults 69 OrdererType: solo 70 Addresses: 71 - 127.0.0.1:7050 72 BatchTimeout: 2s 73 BatchSize: 74 MaxMessageCount: 10 75 AbsoluteMaxBytes: 10 MB 76 PreferredMaxBytes: 512 KB 77 MaxChannels: 0 78 EtcdRaft: 79 Consenters: 80 - Host: raft0.example.com 81 Port: 7050 82 ClientTLSCert: crypto/ordererOrganizations/example.com/orderers/127.0.0.1.example.com/tls/server.crt 83 ServerTLSCert: crypto/ordererOrganizations/example.com/orderers/127.0.0.1.example.com/tls/server.crt 84 Organizations: 85 Policies: 86 Readers: 87 Type: ImplicitMeta 88 Rule: "ANY Readers" 89 Writers: 90 Type: ImplicitMeta 91 Rule: "ANY Writers" 92 Admins: 93 Type: ImplicitMeta 94 Rule: "MAJORITY Admins" 95 BlockValidation: 96 Type: ImplicitMeta 97 Rule: "ANY Writers" 98 Capabilities: 99 <<: *OrdererCapabilities 100 101 Channel: &ChannelDefaults 102 Policies: 103 Readers: 104 Type: ImplicitMeta 105 Rule: "ANY Readers" 106 Writers: 107 Type: ImplicitMeta 108 Rule: "ANY Writers" 109 Admins: 110 Type: ImplicitMeta 111 Rule: "MAJORITY Admins" 112 Capabilities: 113 <<: *ChannelCapabilities 114 115 Profiles: 116 SampleEtcdRaftSystemChannel: 117 <<: *ChannelDefaults 118 Orderer: 119 <<: *OrdererDefaults 120 OrdererType: etcdraft 121 Organizations: 122 - <<: *SampleOrg 123 Policies: 124 <<: *SampleOrgPolicies 125 Admins: 126 Type: Signature 127 Rule: "OR('SampleOrg.member')" 128 Application: 129 <<: *ApplicationDefaults 130 Organizations: 131 - <<: *SampleOrg 132 Policies: 133 <<: *SampleOrgPolicies 134 Admins: 135 Type: Signature 136 Rule: "OR('SampleOrg.member')" 137 Consortiums: 138 SampleConsortium: 139 Organizations: 140 - <<: *SampleOrg 141 Policies: 142 <<: *SampleOrgPolicies 143 Admins: 144 Type: Signature 145 Rule: "OR('SampleOrg.member')" 146 SampleSoloSystemChannel: 147 <<: *ChannelDefaults 148 Orderer: 149 <<: *OrdererDefaults 150 Organizations: 151 - <<: *SampleOrg 152 Policies: 153 <<: *SampleOrgPolicies 154 Admins: 155 Type: Signature 156 Rule: "OR('SampleOrg.member')" 157 Application: 158 <<: *ApplicationDefaults 159 Organizations: 160 - <<: *SampleOrg 161 Policies: 162 <<: *SampleOrgPolicies 163 Admins: 164 Type: Signature 165 Rule: "OR('SampleOrg.member')" 166 Consortiums: 167 SampleConsortium: 168 Organizations: 169 - <<: *SampleOrg 170 Policies: 171 <<: *SampleOrgPolicies 172 Admins: 173 Type: Signature 174 Rule: "OR('SampleOrg.member')" 175 SampleOrgChannel: 176 Consortium: SampleConsortium 177 <<: *ChannelDefaults 178 Application: 179 <<: *ApplicationDefaults 180 Organizations: 181 - *SampleOrg 182 Capabilities: 183 <<: *ApplicationCapabilities 184 Orderer: 185 <<: *OrdererDefaults 186 Organizations: 187 - <<: *SampleOrg 188 Policies: 189 <<: *SampleOrgPolicies 190 Admins: 191 Type: Signature 192 Rule: "OR('SampleOrg.member')"