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

Method VerifyClaim

interfaces.go:84–84  ·  view source on GitHub ↗

VerifyClaim takes some necessary parameters that provides complete proof of a share with index shareIndex in the cliam and submit to contract side in order to prove that the claim is valid so the miner can take credit of it.

(shareIndex *big.Int, claim Claim)

Source from the content-addressed store, hash-verified

82 // in order to prove that the claim is valid so the miner can take credit
83 // of it.
84 VerifyClaim(shareIndex *big.Int, claim Claim) error
85}
86
87// NetworkClient represents client for blockchain network that miner is mining

Callers 1

SubmitMethod · 0.65

Implementers 3

testContractprotocol/test_contract.go
Contractethereum/contract.go
TestPoolSessionethereum/geth/generated_test_pool.go

Calls

no outgoing calls

Tested by

no test coverage detected