Skip to content

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.

4 participants