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 |
---|---|---|
client | ||
errors | ||
proxy | ||
base_verifier.go | -rw-r--r-- | 2.0 KB |
base_verifier_test.go | -rw-r--r-- | 1.6 KB |
commit.go | -rw-r--r-- | 2.6 KB |
dbprovider.go | -rw-r--r-- | 6.6 KB |
doc.go | -rw-r--r-- | 5.8 KB |
dynamic_verifier.go | -rw-r--r-- | 8.4 KB |
dynamic_verifier_test.go | -rw-r--r-- | 7.7 KB |
helpers.go | -rw-r--r-- | 4.9 KB |
multiprovider.go | -rw-r--r-- | 2.3 KB |
provider.go | -rw-r--r-- | 1010 bytes |
provider_test.go | -rw-r--r-- | 4.2 KB |
types.go | -rw-r--r-- | 321 bytes |
Computing file changes ...