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

Method NumShares

protocol/claim.go:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (c *Claim) NumShares() *big.Int {
38 return big.NewInt(int64(c.shares.Len()))
39}
40
41func (c *Claim) Difficulty() *big.Int {
42 var m *big.Int

Callers 2

TestClaimAddShareFunction · 0.95

Implementers 2

Claimprotocol/claim.go
testClaimprotocol/test_claim.go

Calls 1

LenMethod · 0.80

Tested by 2

TestClaimAddShareFunction · 0.76