matiru
Blockchain-Based Supply Chain Transparency for Agricultural Producegit clone https://github.com/maydayv7/matiru
fabric/network/configtx/configtx.yaml (4491B)
1Organizations:
2 - &OrdererOrg
3 Name: OrdererOrg
4 ID: OrdererMSP
5 MSPDir: ../organizations/ordererOrganizations/example.com/msp
6 Policies:
7 Readers:
8 Type: Signature
9 Rule: "OR('OrdererMSP.member')"
10 Writers:
11 Type: Signature
12 Rule: "OR('OrdererMSP.member')"
13 Admins:
14 Type: Signature
15 Rule: "OR('OrdererMSP.admin')"
16 OrdererEndpoints:
17 - orderer.example.com:7050
18
19 - &Org1
20 Name: Org1MSP
21 ID: Org1MSP
22 MSPDir: ../organizations/peerOrganizations/org1.example.com/msp
23 Policies:
24 Readers:
25 Type: Signature
26 Rule: "OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')"
27 Writers:
28 Type: Signature
29 Rule: "OR('Org1MSP.admin', 'Org1MSP.client')"
30 Admins:
31 Type: Signature
32 Rule: "OR('Org1MSP.admin')"
33 Endorsement:
34 Type: Signature
35 Rule: "OR('Org1MSP.peer')"
36
37 - &Org2
38 Name: Org2MSP
39 ID: Org2MSP
40 MSPDir: ../organizations/peerOrganizations/org2.example.com/msp
41 Policies:
42 Readers:
43 Type: Signature
44 Rule: "OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')"
45 Writers:
46 Type: Signature
47 Rule: "OR('Org2MSP.admin', 'Org2MSP.client')"
48 Admins:
49 Type: Signature
50 Rule: "OR('Org2MSP.admin')"
51 Endorsement:
52 Type: Signature
53 Rule: "OR('Org2MSP.peer')"
54
55 - &Org3
56 Name: Org3MSP
57 ID: Org3MSP
58 MSPDir: ../organizations/peerOrganizations/org3.example.com/msp
59 Policies:
60 Readers:
61 Type: Signature
62 Rule: "OR('Org3MSP.admin', 'Org3MSP.peer', 'Org3MSP.client')"
63 Writers:
64 Type: Signature
65 Rule: "OR('Org3MSP.admin', 'Org3MSP.client')"
66 Admins:
67 Type: Signature
68 Rule: "OR('Org3MSP.admin')"
69 Endorsement:
70 Type: Signature
71 Rule: "OR('Org3MSP.peer')"
72
73 - &Org4
74 Name: Org4MSP
75 ID: Org4MSP
76 MSPDir: ../organizations/peerOrganizations/org4.example.com/msp
77 Policies:
78 Readers:
79 Type: Signature
80 Rule: "OR('Org4MSP.admin', 'Org4MSP.peer', 'Org4MSP.client')"
81 Writers:
82 Type: Signature
83 Rule: "OR('Org4MSP.admin', 'Org4MSP.client')"
84 Admins:
85 Type: Signature
86 Rule: "OR('Org4MSP.admin')"
87 Endorsement:
88 Type: Signature
89 Rule: "OR('Org4MSP.peer')"
90
91Capabilities:
92 Channel: &ChannelCapabilities
93 V2_0: true
94 Orderer: &OrdererCapabilities
95 V2_0: true
96 Application: &ApplicationCapabilities
97 V2_0: true
98
99Application: &ApplicationDefaults
100 Organizations:
101 Policies:
102 Readers:
103 Type: ImplicitMeta
104 Rule: "ANY Readers"
105 Writers:
106 Type: ImplicitMeta
107 Rule: "ANY Writers"
108 Admins:
109 Type: ImplicitMeta
110 Rule: "MAJORITY Admins"
111 LifecycleEndorsement:
112 Type: ImplicitMeta
113 Rule: "MAJORITY Endorsement"
114 Endorsement:
115 Type: ImplicitMeta
116 Rule: "MAJORITY Endorsement"
117 Capabilities:
118 <<: *ApplicationCapabilities
119
120Orderer: &OrdererDefaults
121 OrdererType: etcdraft
122 Addresses:
123 - orderer.example.com:7050
124 EtcdRaft:
125 Consenters:
126 - Host: orderer.example.com
127 Port: 7050
128 ClientTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
129 ServerTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt
130 BatchTimeout: 2s
131 BatchSize:
132 MaxMessageCount: 10
133 AbsoluteMaxBytes: 99 MB
134 PreferredMaxBytes: 512 KB
135 Organizations:
136 Policies:
137 Readers:
138 Type: ImplicitMeta
139 Rule: "ANY Readers"
140 Writers:
141 Type: ImplicitMeta
142 Rule: "ANY Writers"
143 Admins:
144 Type: ImplicitMeta
145 Rule: "MAJORITY Admins"
146 BlockValidation:
147 Type: ImplicitMeta
148 Rule: "ANY Writers"
149
150Channel: &ChannelDefaults
151 Policies:
152 Readers:
153 Type: ImplicitMeta
154 Rule: "ANY Readers"
155 Writers:
156 Type: ImplicitMeta
157 Rule: "ANY Writers"
158 Admins:
159 Type: ImplicitMeta
160 Rule: "MAJORITY Admins"
161 Capabilities:
162 <<: *ChannelCapabilities
163
164Profiles:
165 FourOrgsApplicationGenesis:
166 <<: *ChannelDefaults
167 Orderer:
168 <<: *OrdererDefaults
169 Organizations:
170 - *OrdererOrg
171 Capabilities:
172 <<: *OrdererCapabilities
173 Application:
174 <<: *ApplicationDefaults
175 Organizations:
176 - *Org1
177 - *Org2
178 - *Org3
179 - *Org4
180 Capabilities:
181 <<: *ApplicationCapabilities