-
Notifications
You must be signed in to change notification settings - Fork 2
/
ccp.org2.yaml
65 lines (61 loc) · 1.54 KB
/
ccp.org2.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
---
name: test-network-org2
version: 1.0.0
client:
organization: Org2
connection:
timeout:
peer:
endorser: '300'
organizations:
Org1:
mspid: Org1MSP
peers:
- peer0.org1.example.com
orderers:
- orderer.example.com
Org2:
mspid: Org2MSP
peers:
- peer0.org2.example.com
orderers:
- orderer.example.com
peers:
peer0.org1.example.com:
url: grpcs://127.0.0.1:7051
tlsCACerts:
path: ./crypmaterials/tlscacerts/tlsca.org1.example.com-cert.pem
grpcOptions:
ssl-target-name-override: peer0.org1.example.com
hostnameOverride: peer0.org1.example.com
peer0.org2.example.com:
url: grpcs://127.0.0.1:7055
tlsCACerts:
path: ./crypmaterials/tlscacerts/tlsca.org2.example.com-cert.pem
grpcOptions:
ssl-target-name-override: peer0.org2.example.com
hostnameOverride: peer0.org2.example.com
channels:
mychannel:
orderers:
- orderer.example.com
peers:
peer0.org1.example.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
peer0.org2.example.com:
endorsingPeer: true
chaincodeQuery: true
ledgerQuery: true
eventSource: true
orderers:
orderer.example.com:
url: grpcs://127.0.0.1:7050
grpcOptions:
# ssl-target-name-override: orderer.example.com
# hostnameOverride: orderer.example.com
# grpc-max-send-message-length: 50000000
tlsCACerts:
path: ./crypmaterials/tlscacerts/tlsca.org1.example.com-cert.pem