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

Comments

Projects
2 participants
@rkeene
Copy link
Contributor

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 the enhancement label Dec 12, 2018

@rkeene rkeene added this to the V18.0 milestone Dec 12, 2018

@guilhermelawless

This comment has been minimized.

Copy link
Contributor

commented Dec 14, 2018

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

@rkeene rkeene self-assigned this Dec 20, 2018

@zhyatt zhyatt added this to Unscheduled in V18 Dec 27, 2018

rkeene added a commit to rkeene/nano-node that referenced this issue Dec 28, 2018

rkeene added a commit to rkeene/nano-node that referenced this issue Dec 28, 2018

@rkeene rkeene closed this in #1511 Dec 28, 2018

@zhyatt zhyatt moved this from Unscheduled to CP 0 in V18 Jan 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.