ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

graceful stop of ethminer? #2238

Open N0rdmann opened 3 years ago

N0rdmann commented 3 years ago

Is there any way to cleanly shutdown ethminer?

I mean in a way that it does not take new jobs from the pool/disconnects but finishes and submits the current ones before completely exiting?

I've just noticed an increasing rate of stale shares while experimenting with command line options thus exiting (via CTRL+C) and restarting the miner quite often. (windows build)

Cheers

curtcurt871 commented 3 years ago

No

N0rdmann commented 3 years ago

Guess i've opened this issue correctly as an feature request then 😋

Stoom commented 3 years ago

@N0rdmann you'll have to code it yourself. This repo is pretty quiet on the code front. A handful of people have branched for the latest and greatest.... I had to branch to get it to work with the latest cuda drivers on a 3090

EkremSel commented 3 years ago

@N0rdmann you'll have to code it yourself. This repo is pretty quiet on the code front. A handful of people have branched for the latest and greatest.... I had to branch to get it to work with the latest cuda drivers on a 3090

Can you share the latest and greatest branches?

Stoom commented 3 years ago

@EkremSel you're probably best off just grabbing the latest from this repo. That will probably be the best way for everyone else to integrate the feature into their forks