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

pool: Rename cpu work handler to clarify default. #407

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Oct 11, 2023

This renames the handler that sends work to a miner from handleCPUWork to sendWorkDefault and accepts the name of the miner as a parameter.

This is intended to help make it clear that it is sending the work and that it is the default format that all miners should ideally follow.

It also improves a couple of error messages while here.

This renames the handler that sends work to a miner from handleCPUWork
to sendWorkDefault and accepts the name of the miner as a parameter.

This is intended to help make it clear that it is sending the work and
that it is the default format that all miners should ideally follow.

It also improves a couple of error messages while here.
@jholdstock jholdstock merged commit 73a5cd5 into decred:master Oct 12, 2023
2 checks passed
@davecgh davecgh deleted the pool_rename_cpu_work_handler branch October 12, 2023 14:27
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