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

Method SubmitClaim

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

SubmitClaim takes some necessary parameters that represent a claim and submit to the contract using miner's address. The address should be unlocked first.

(claim Claim)

Source from the content-addressed store, hash-verified

71 // submit to the contract using miner's address. The address should be
72 // unlocked first.
73 SubmitClaim(claim Claim) error
74 // GetShareIndex returns index of the share that is requested to submit
75 // proof to the contract to represent correctness of the submitted claim.
76 // GetShareIndex must be called after SubmitClaim to get shareIndex which

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