decred / dcrpool

decred mining pool
ISC License
31 stars 28 forks source link

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

Closed davecgh closed 1 year ago

davecgh commented 1 year ago

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.