Skip to content
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

telemetry: add BlockAcceptedEventDetails.ReceivedAt to complement ValidatedAt #4583

Merged
merged 2 commits into from
Sep 24, 2022

Conversation

cce
Copy link
Contributor

@cce cce commented Sep 23, 2022

Summary

Similar to the ValidatedAt timing in #3703, this provides the timing of the winning payloadPresent messageEvent.

For more background, payloadPresent messageEvents are made when deserialized PP network messages arrive in demux.go here, and are converted into an messageEvent for handling in agreement:
https://github.com/algorand/go-algorand/blob/master/agreement/demux.go#L314-L318
https://github.com/algorand/go-algorand/blob/master/agreement/demux.go#L358-L377

Test Plan

Existing tests should pass.

@algorandskiy
Copy link
Contributor

LGTM. CI complains about msgp gen file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants