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

Method SubmitSolution

ethereum/network_client.go:27–30  ·  view source on GitHub ↗
(s smartpool.Solution)

Source from the content-addressed store, hash-verified

25}
26
27func (nc *NetworkClient) SubmitSolution(s smartpool.Solution) bool {
28 sol := s.(*Solution)
29 return nc.rpc.SubmitWork(sol.Nonce, sol.Hash, sol.MixDigest)
30}
31
32func (nc *NetworkClient) ReadyToMine() bool {
33 return !nc.rpc.Syncing()

Callers

nothing calls this directly

Implementers 1

NetworkClientethereum/network_client.go

Calls 1

SubmitWorkMethod · 0.65

Tested by

no test coverage detected