New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#250] tracing chain density and display in LiveView #261
Conversation
one block still missing, if restarted on an existing db:
One surplus after restarting from scratch:
|
bc9bf54
to
c8a6861
Compare
Does the latest version report the correct chain density? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spotted why we're getting off by 1.
I suggest you rebase this PR so that there's a separate commit for each logical change. Currently, the commits contain a mix of unrelated changes and there are two incorrect versions of the chain density in the history 🙂. |
17a1c6c
to
3c32826
Compare
the exported metrics:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me.
Both the first and last patch have nix things. Probably should be rebased so all the nix changes are in the one or all in the other, but not both. It's ok to squash it into one since that's easier.
I don't understand the purpose of the second patch. How is it related?
3c32826
to
b5f6130
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I would put the result of chainInformation
into a record type like you suggested @CodiePP
b5f6130
to
72e49c1
Compare
72e49c1
to
d47435a
Compare
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
d47435a
to
ea74215
Compare
added better description, |
bors r+ |
Build failed |
bors r+ |
Build succeeded |
trace and display chain density (see issue #250)
and also the number of connected peers.