Skip to content

Commit 87c0310

Browse files
committed
[FAB-4200] Fix docs in core.yaml
There're some wrong descriptions in the sampleconfig/core.yaml. This patchset helps fix the errors and make minor refinements. Change-Id: I3edeb530c04de2ee0c296db89376ba367dd46b89 Signed-off-by: Baohua Yang <[email protected]>
1 parent b7a0519 commit 87c0310

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

sampleconfig/core.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ logging:
3838
policies: warning
3939
grpc: error
4040

41-
# Format for the peer logs
41+
# Message format for the peer logs
4242
format: '%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}'
4343

4444
###############################################################################
@@ -52,11 +52,10 @@ peer:
5252
id: jdoe
5353

5454
# The networkId allows for logical seperation of networks
55-
# networkId: dev
56-
# networkId: test
5755
networkId: dev
5856

59-
# The Address this Peer will listen on
57+
# The Address at local network interface this Peer will listen on.
58+
# By default, it will listen on all network interfaces
6059
listenAddress: 0.0.0.0:7051
6160
# When used as peer config, represents the endpoint to other peers in the same organization
6261
# for peers in other organization, see gossip.externalEndpoint
@@ -154,8 +153,7 @@ peer:
154153
# Time between peer sends propose message and declare itself as a leader (sends declaration message) (unit: second)
155154
leaderElectionDuration: 5s
156155

157-
# Validator defines whether this peer is a validating peer or not, and if
158-
# it is enabled, what consensus plugin to load
156+
# EventHub related configuration
159157
events:
160158
# The address that the Event service will be enabled on the validator
161159
address: 0.0.0.0:7053

0 commit comments

Comments
 (0)