Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ buildAugTree
Method
buildAugTree
protocol/claim.go:103–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
}
102
103
func
(c *Claim) buildAugTree() {
104
sort.Sort(c.shares)
105
c.amt = mtree.NewAugTree()
106
for
i, s :=
range
c.shares {
107
c.amt.Insert(s, uint32(i))
108
}
109
c.amt.Finalize()
110
}
Callers
3
Min
Method · 0.95
Max
Method · 0.95
AugMerkle
Method · 0.95
Implementers
2
Claim
protocol/claim.go
testClaim
protocol/test_claim.go
Calls
2
Insert
Method · 0.80
Finalize
Method · 0.80
Tested by
no test coverage detected