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

Method Max

protocol/claim.go:61–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (c *Claim) Max() *big.Int {
62 if c.amt == nil {
63 c.buildAugTree()
64 }
65 return c.amt.RootMax()
66}
67
68func (c *Claim) AugMerkle() smartpool.SPHash {
69 if c.amt == nil {

Implementers 2

Claimprotocol/claim.go
testClaimprotocol/test_claim.go

Calls 2

buildAugTreeMethod · 0.95
RootMaxMethod · 0.80

Tested by 1