Diablo-D3 / DiabloMiner

OpenCL miner for Bitcoin
https://bitcointalk.org/index.php?topic=1721.0
GNU General Public License v3.0
538 stars 217 forks source link

getWork variable - bad name #83

Closed daniel-sap closed 10 years ago

daniel-sap commented 10 years ago

Hi in WorkState in update method there is a local variable named getWork. This name 'getWork' looks like a method name and is confusing. I suggest renaming to 'needWork' or even better 'hasWork'

For 'hasWork' will need some other changes, not only renaming

Diablo-D3 commented 10 years ago

diablominer is no longer in development, please use cgminer instead