| 8 | ) |
| 9 | |
| 10 | type RPCClient interface { |
| 11 | ClientVersion() (string, error) |
| 12 | GetWork() *Work |
| 13 | SubmitHashrate(hashrate hexutil.Uint64, id common.Hash) bool |
| 14 | SubmitWork(nonce types.BlockNonce, hash, mixDigest common.Hash) bool |
| 15 | IsVerified(h common.Hash) bool |
| 16 | Syncing() bool |
| 17 | BlockNumber() (*big.Int, error) |
| 18 | GetLog(from *big.Int, event *big.Int, sender *big.Int) (*big.Int, *big.Int) |
| 19 | SetEtherbase(etherbase common.Address) error |
| 20 | SetExtradata(extradata string) error |
| 21 | Broadcast(raw []byte) (common.Hash, error) |
| 22 | } |
no outgoing calls
no test coverage detected