@@ -91,13 +91,15 @@ peer:
91
91
# its own organization
92
92
orgLeader : true
93
93
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'
95
97
endpoint :
96
- # Maximum count of blocks we store in memory
98
+ # Maximum count of blocks stored in memory
97
99
maxBlockCountToStore : 100
98
100
# Max time between consecutive message pushes(unit: millisecond)
99
101
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
101
103
maxPropagationBurstSize : 10
102
104
# Number of times a message is pushed to remote peers
103
105
propagateIterations : 1
@@ -115,7 +117,7 @@ peer:
115
117
stateInfoRetentionInterval :
116
118
# Time from startup certificates are included in Alive messages(unit: second)
117
119
publishCertPeriod : 10s
118
- # Should we skip verifying block messages or not
120
+ # Should we skip verifying block messages or not (currently not in use)
119
121
skipBlockVerification : false
120
122
# Dial timeout(unit: second)
121
123
dialTimeout : 3s
@@ -142,13 +144,13 @@ peer:
142
144
externalEndpoint :
143
145
# Leader election service configuration
144
146
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)
146
148
startupGracePeriod : 15s
147
- # Interval gossip membership sampled to check its stability (unit: second)
149
+ # Interval gossip membership samples to check its stability (unit: second)
148
150
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)
150
152
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)
152
154
leaderElectionDuration : 5s
153
155
154
156
# EventHub related configuration
@@ -166,7 +168,7 @@ peer:
166
168
# if > 0, if buffer full, blocks till timeout
167
169
timeout : 10ms
168
170
169
- # TLS Settings for p2p communications
171
+ # TLS Settings
170
172
tls :
171
173
enabled : false
172
174
cert :
0 commit comments