MCPcopy Create free account
hub / github.com/ethstorage/es-node / isRunning

Method isRunning

ethstorage/miner/worker.go:196–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194}
195
196func (w *worker) isRunning() bool {
197 return atomic.LoadInt32(&w.running) == 1
198}
199
200func (w *worker) close() {
201 w.stop()

Callers 5

newWorkLoopMethod · 0.95
resultLoopMethod · 0.95
mineTaskMethod · 0.95
updateMethod · 0.80
MiningMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected