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

Interface RPCClient

ethereum/rpc_client.go:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type 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}

Callers 20

RunFunction · 0.65
ConfigureMethod · 0.65
RequireClientUpdateMethod · 0.65
ClientVersionMethod · 0.65
ClientVersionMethod · 0.65
GetWorkMethod · 0.65
GetWorkMethod · 0.65
SubmitHashrateMethod · 0.65
SubmitHashrateMethod · 0.65
SubmitSolutionMethod · 0.65
isVerifiedMethod · 0.65
ReadyToMineMethod · 0.65

Implementers 1

GethRPCethereum/geth/rpc.go

Calls

no outgoing calls

Tested by

no test coverage detected