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

improve logging in mev-boost-rs #105

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

jacobkaufmann
Copy link
Contributor

add the following tracing events:

  • (WARN) failed registration with a given relay

in various other tracing events, log the relay public key instead of the relay index.

refactor/fix: currently, the pending response futures are put into a buffered list with the buffer_unordered adaptor. this adaptor will yield the futures in the order in which they complete, which may be inconsistent with the order in which they were initially created. however, subsequent logic appears to rely on a consistent ordering. changes were included to group the relay index (or public key) with the response at the time the request was made.

Copy link
Owner

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent!

@ralexstokes ralexstokes merged commit f346e1c into ralexstokes:main Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants