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
History
File Mode Size
armor
ed25519
encoding
internal
merkle
multisig
secp256k1
sr25519
tmhash
xchacha20poly1305
xsalsa20symmetric
CHANGELOG.md -rw-r--r-- 4.0 KB
README.md -rw-r--r-- 1.5 KB
crypto.go -rw-r--r-- 952 bytes
doc.go -rw-r--r-- 1.0 KB
example_test.go -rw-r--r-- 878 bytes
hash.go -rw-r--r-- 151 bytes
random.go -rw-r--r-- 710 bytes
random_test.go -rw-r--r-- 537 bytes
version.go -rw-r--r-- 44 bytes

README.md

back to top