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
Raw File
.editorconfig
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{sh,Makefile}]
indent_style = tab

[*.proto]
indent_style = space
indent_size = 2
back to top