Skip to content

Commit

Permalink
[FAB-4751] Updating comments on cc port
Browse files Browse the repository at this point in the history
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 <binhn@us.ibm.com>
  • Loading branch information
binhn committed Jun 21, 2017
1 parent 90e09ea commit f38c37d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions sampleconfig/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ peer:

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

Expand Down Expand Up @@ -167,11 +169,10 @@ peer:

# EventHub related configuration
events:
# The address that the Event service will be enabled on the validator
# The address that the Event service will be enabled on the peer
address: 0.0.0.0:7053

# total number of events that could be buffered without blocking the
# validator sends
# total number of events that could be buffered without blocking send
buffersize: 100

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

# TLS Settings
# Note that peer-chaincode connections through chaincodeListenAddress is
# not mutual TLS auth. See comments on chaincodeListenAddress for more info
tls:
enabled: false
cert:
Expand Down

0 comments on commit f38c37d

Please sign in to comment.