-
Notifications
You must be signed in to change notification settings - Fork 2
/
configtx.yaml
76 lines (67 loc) · 1.92 KB
/
configtx.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Organizations:
- &OrdererOrg
Name: OrdererOrg
ID: OrdererMSP
MSPDir: crypto-config/ordererOrganizations/energychain.com/msp
- &prosumer
Name: prosumerMSP
ID: prosumerMSP
MSPDir: crypto-config/peerOrganizations/prosumer.energychain.com/msp
AnchorPeers:
- Host: peer0.prosumer.energychain.com
Port: 7051
- &consumer
Name: consumerMSP
ID: consumerMSP
MSPDir: crypto-config/peerOrganizations/consumer.energychain.com/msp
AnchorPeers:
- Host: peer0.consumer.energychain.com
Port: 7051
- &exchange
Name: exchangeMSP
ID: exchangeMSP
MSPDir: crypto-config/peerOrganizations/exchange.energychain.com/msp
AnchorPeers:
- Host: peer0.exchange.energychain.com
Port: 7051
Orderer: &OrdererDefaults
OrdererType: solo
Addresses:
- orderer0.energychain.com:7050
# - orderer1.energychain.com:7050
# - orderer2.energychain.com:7050
BatchTimeout: 2s
BatchSize:
MaxMessageCount: 10
AbsoluteMaxBytes: 99 MB
PreferredMaxBytes: 512 KB
Kafka:
Brokers:
- 127.0.0.1:9092
# - kafka0:9092
# - kafka1:9092
# - kafka2:9092
# - kafka3:9092
Organizations:
Application: &ApplicationDefaults
Organizations:
Profiles:
energy_chain:
Orderer:
<<: *OrdererDefaults
Organizations:
- *OrdererOrg
Consortiums:
SampleConsortium:
Organizations:
- *prosumer
- *consumer
- *exchange
commonchannel:
Consortium: SampleConsortium
Application:
<<: *ApplicationDefaults
Organizations:
- *prosumer
- *consumer
- *exchange