Revision fff7f450beb4efe19a047dca23243b3bdec5d005 authored by Anton Kaliaev on 18 December 2019, 15:46:21 UTC, committed by GitHub on 18 December 2019, 15:46:21 UTC
also - do not send any LastCommitInfo.Votes for 1st block. - use cs.LastValidators (not cs.Validators) in recordMetrics when counting missing validators note: remember that the first LastCommit is intentionally empty, so it makes sense for LastCommitInfo.Votes to also be empty. Because we can't really tell if validator signed or not. Similar for ^ metrics, we can't say if particular validator was missing or not. Closes #4192
1 parent bd77284
File | Mode | Size |
---|---|---|
bench_test.go | -rw-r--r-- | 1.6 KB |
cache_test.go | -rw-r--r-- | 3.2 KB |
clist_mempool.go | -rw-r--r-- | 20.0 KB |
clist_mempool_test.go | -rw-r--r-- | 18.7 KB |
codec.go | -rw-r--r-- | 136 bytes |
doc.go | -rw-r--r-- | 1.2 KB |
errors.go | -rw-r--r-- | 1.1 KB |
mempool.go | -rw-r--r-- | 4.9 KB |
metrics.go | -rw-r--r-- | 2.4 KB |
reactor.go | -rw-r--r-- | 7.8 KB |
reactor_test.go | -rw-r--r-- | 5.5 KB |
Computing file changes ...