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

Method GetWork

ethereum/network_client.go:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (nc *NetworkClient) GetWork() smartpool.Work {
18 work := nc.rpc.GetWork()
19 nc.workpool.AddWork(work)
20 return work
21}
22
23func (nc *NetworkClient) SubmitHashrate(hashrate hexutil.Uint64, id common.Hash) bool {
24 return nc.rpc.SubmitHashrate(hashrate, id)

Callers

nothing calls this directly

Implementers 1

NetworkClientethereum/network_client.go

Calls 2

AddWorkMethod · 0.80
GetWorkMethod · 0.65

Tested by

no test coverage detected