Work represents SmartPool work that miner needs to solve to have valid shares. Work is easier (has smaller difficulty) than actual Ethereum work that the miner can get from the network.
| 108 | // shares. Work is easier (has smaller difficulty) than actual Ethereum |
| 109 | // work that the miner can get from the network. |
| 110 | type Work interface { |
| 111 | ID() string |
| 112 | // AcceptSolution takes solution to construct and return a Share representing |
| 113 | // the solution that came from miner. |
| 114 | AcceptSolution(sol Solution) Share |
| 115 | } |
| 116 | |
| 117 | // Solution represents a solution for a work |
| 118 | type Solution interface { |
no outgoing calls
no test coverage detected