MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / AddWork

Method AddWork

ethereum/work_pool.go:46–48  ·  view source on GitHub ↗
(w *Work)

Source from the content-addressed store, hash-verified

44}
45
46func (wp WorkPool) AddWork(w *Work) {
47 wp[w.ID()] = w
48}
49
50func (wp WorkPool) Cleanning() {
51 ticker := time.Tick(140 * time.Second)

Callers 2

GetWorkMethod · 0.80

Calls 1

IDMethod · 0.65

Tested by 1