Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
61
func
(c *Claim) Max() *big.Int {
62
if
c.amt == nil {
63
c.buildAugTree()
64
}
65
return
c.amt.RootMax()
66
}
67
68
func
(c *Claim) AugMerkle() smartpool.SPHash {
69
if
c.amt == nil {
Callers
1
TestClaimMinReturnMaxCounterOfItsShares
Function · 0.95
Implementers
2
Claim
protocol/claim.go
testClaim
protocol/test_claim.go
Calls
2
buildAugTree
Method · 0.95
RootMax
Method · 0.80
Tested by
1
TestClaimMinReturnMaxCounterOfItsShares
Function · 0.76