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

Method NumShares

types.go:143–143  ·  view source on GitHub ↗

NumShares returns number of shares that the claim is holding

()

Source from the content-addressed store, hash-verified

141type Claim interface {
142 // NumShares returns number of shares that the claim is holding
143 NumShares() *big.Int
144 GetShare(index int) Share
145 // Difficulty returns the min difficulty across all of its shares
146 Difficulty() *big.Int

Implementers 2

Claimprotocol/claim.go
testClaimprotocol/test_claim.go

Calls

no outgoing calls