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