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
.circleci
.github
DOCKER
abci
behaviour
blockchain
cmd
config
consensus
crypto
docs
evidence
libs
lite
lite2
mempool
mock
networks
node
p2p
privval
proxy
rpc
scripts
state
store
test
tools
types
version
.editorconfig -rw-r--r-- 280 bytes
.gitignore -rw-r--r-- 528 bytes
.golangci.yml -rw-r--r-- 1.1 KB
CHANGELOG.md -rw-r--r-- 129.7 KB
CHANGELOG_PENDING.md -rw-r--r-- 7.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 4.9 KB
CONTRIBUTING.md -rw-r--r-- 10.4 KB
LICENSE -rw-r--r-- 11.1 KB
Makefile -rw-r--r-- 8.9 KB
PHILOSOPHY.md -rw-r--r-- 7.5 KB
README.md -rw-r--r-- 7.6 KB
SECURITY.md -rw-r--r-- 1.7 KB
UPGRADING.md -rw-r--r-- 17.1 KB
Vagrantfile -rw-r--r-- 2.0 KB
appveyor.yml -rw-r--r-- 251 bytes
codecov.yml -rw-r--r-- 330 bytes
docker-compose.yml -rw-r--r-- 1.3 KB
dredd.yml -rw-r--r-- 700 bytes
go.mod -rw-r--r-- 1.5 KB
go.sum -rw-r--r-- 30.7 KB
tests.mk -rw-r--r-- 3.0 KB
tools.mk -rw-r--r-- 2.7 KB

README.md

back to top