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

Method notifyResultLoop

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

Source from the content-addressed store, hash-verified

404}
405
406func (w *worker) notifyResultLoop() {
407 select {
408 case w.resultCh <- struct{}{}:
409 default:
410 }
411}
412
413// resultLoop is a standalone goroutine to submit mining result to L1 contract.
414func (w *worker) resultLoop() {

Callers 2

resultLoopMethod · 0.95
mineTaskMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected