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

[ETCM-571] Add metric on the time taken to evaluate a submitted PoW #932

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

leo-bogastry
Copy link
Contributor

Description

Added a metric on how long a node takes to evaluate if a solution submitted by a miner is valid (without broadcasting it)

Proposed Solution

A timer metric was added to EthashBlockGenerator.getPrepared method

Testing

insomnia_workspace.json was updated to include the eth_submitWork call with bogus data. This call can be used to simulate a miner sending the result of the PoW (does not need to be a real one). Several calls over time need to be made. A panel was added to Grafana that allows to see the new metric

@leo-bogastry leo-bogastry force-pushed the feature/ETCM-571-eth_submitWork-metric branch from 345f994 to c83021d Compare March 3, 2021 14:07
@leo-bogastry leo-bogastry merged commit fd69635 into develop Mar 5, 2021
@leo-bogastry leo-bogastry deleted the feature/ETCM-571-eth_submitWork-metric branch March 5, 2021 08:35
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.

3 participants