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

Log work data when computing work #1443

Closed
rkeene opened this issue Dec 12, 2018 · 1 comment
Closed

Log work data when computing work #1443

rkeene opened this issue Dec 12, 2018 · 1 comment
Assignees
Milestone

Comments

@rkeene
Copy link
Contributor

rkeene commented Dec 12, 2018

When computing work add the uint256_t that is being used as the basis of work to the logs:

Old:

[2018-12-12 18:00:59.430585]: Work generation complete: 943731 us

Proposed new:

[2018-12-12 18:00:59.430585]: Work generation for 48AF96209FAD14F0FA94EA712352B00D15DA866DD250A649F10CACC05CCC4BE1 complete: 943731 us
@rkeene rkeene added this to the V18.0 milestone Dec 12, 2018
@guilhermelawless
Copy link
Contributor

I would suggest also logging the respective threshold, as a multiplier (from base difficulty) or simply the value.

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

No branches or pull requests

2 participants