Skip to content

Commit 3662132

Browse files
committed
[FAB-4581] Correct gossip core.yaml comments
There are some comments that are simply incorrect and some have grammar errors. Change-Id: Ib606ba9735d24028480a3123307bca81a179dd68 Signed-off-by: Yacov Manevich <[email protected]>
1 parent fcda9a9 commit 3662132

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

sampleconfig/core.yaml

+11-9
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ peer:
9191
# its own organization
9292
orgLeader: true
9393

94-
# ID of this instance
94+
# Overrides the endpoint that the peer publishes to peers
95+
# in its organization. For peers in foreign organizations
96+
# see 'externalEndpoint'
9597
endpoint:
96-
# Maximum count of blocks we store in memory
98+
# Maximum count of blocks stored in memory
9799
maxBlockCountToStore: 100
98100
# Max time between consecutive message pushes(unit: millisecond)
99101
maxPropagationBurstLatency: 10ms
100-
# Max number of messages stored until it triggers a push to remote peers
102+
# Max number of messages stored until a push is triggered to remote peers
101103
maxPropagationBurstSize: 10
102104
# Number of times a message is pushed to remote peers
103105
propagateIterations: 1
@@ -115,7 +117,7 @@ peer:
115117
stateInfoRetentionInterval:
116118
# Time from startup certificates are included in Alive messages(unit: second)
117119
publishCertPeriod: 10s
118-
# Should we skip verifying block messages or not
120+
# Should we skip verifying block messages or not (currently not in use)
119121
skipBlockVerification: false
120122
# Dial timeout(unit: second)
121123
dialTimeout: 3s
@@ -142,13 +144,13 @@ peer:
142144
externalEndpoint:
143145
# Leader election service configuration
144146
election:
145-
# Longest time peer wait for stable membership during leader election startup (unit: second)
147+
# Longest time peer waits for stable membership during leader election startup (unit: second)
146148
startupGracePeriod: 15s
147-
# Interval gossip membership sampled to check its stability (unit: second)
149+
# Interval gossip membership samples to check its stability (unit: second)
148150
membershipSampleInterval: 1s
149-
# Time pass since last declaration message before peer decide to go to election (unit: second)
151+
# Time passes since last declaration message before peer decides to perform leader election (unit: second)
150152
leaderAliveThreshold: 10s
151-
# Time between peer sends propose message and declare itself as a leader (sends declaration message) (unit: second)
153+
# Time between peer sends propose message and declares itself as a leader (sends declaration message) (unit: second)
152154
leaderElectionDuration: 5s
153155

154156
# EventHub related configuration
@@ -166,7 +168,7 @@ peer:
166168
# if > 0, if buffer full, blocks till timeout
167169
timeout: 10ms
168170

169-
# TLS Settings for p2p communications
171+
# TLS Settings
170172
tls:
171173
enabled: false
172174
cert:

0 commit comments

Comments
 (0)