Skip to content

Commit f38c37d

Browse files
committed
[FAB-4751] Updating comments on cc port
The current comment on the chaincodeListenAddress is not precise enough. This CR fixes that and related TLS settings. Change-Id: Ia58c055649ad117ba0576e32ffcdceace9f135b2 Signed-off-by: Binh Q. Nguyen <[email protected]>
1 parent 90e09ea commit f38c37d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

sampleconfig/core.yaml

+11-8
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,14 @@ peer:
6060

6161
# The endpoint this peer uses to listen for inbound chaincode connections.
6262
#
63-
# If chaincodeListenAddress is commented out or equals listenAddress, listenAddress will
64-
# be used for chaincode connections. Otherwise a new listener different from peer's listener
65-
# on listenAddress will be used.
63+
# The chaincode connection does not support TLS-mutual auth. Having a
64+
# separate listener for the chaincode helps isolate the chaincode
65+
# environment for enhanced security, so it is strongly recommended to
66+
# uncomment chaincodeListenAddress and specify a protected endpoint.
6667
#
67-
# The chaincode connection does not support TLS-mutual auth. Having a separate listener for
68-
# the chaincode environment helps isolate the chaincode enviroment for enhanced security.
68+
# If chaincodeListenAddress is not configured or equals to the listenAddress,
69+
# listenAddress will be used for chaincode connections. This is not
70+
# recommended for production.
6971
#
7072
# chaincodeListenAddress: 127.0.0.1:7052
7173

@@ -167,11 +169,10 @@ peer:
167169

168170
# EventHub related configuration
169171
events:
170-
# The address that the Event service will be enabled on the validator
172+
# The address that the Event service will be enabled on the peer
171173
address: 0.0.0.0:7053
172174

173-
# total number of events that could be buffered without blocking the
174-
# validator sends
175+
# total number of events that could be buffered without blocking send
175176
buffersize: 100
176177

177178
# timeout duration for producer to send an event.
@@ -181,6 +182,8 @@ peer:
181182
timeout: 10ms
182183

183184
# TLS Settings
185+
# Note that peer-chaincode connections through chaincodeListenAddress is
186+
# not mutual TLS auth. See comments on chaincodeListenAddress for more info
184187
tls:
185188
enabled: false
186189
cert:

0 commit comments

Comments
 (0)