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

Function NewClaim

protocol/claim.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25func NewClaim() *Claim {
26 return &Claim{Shares{}, nil, nil, nil}
27}
28
29func (c *Claim) AddShare(s smartpool.Share) {
30 c.shares = append(c.shares[:], s)

Callers 4

TestClaimAddShareFunction · 0.85
NewInMemClaimRepoFunction · 0.85
GetCurrentClaimMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestClaimAddShareFunction · 0.68