Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ AugMerkle
Method
AugMerkle
protocol/claim.go:68–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(c *Claim) AugMerkle() smartpool.SPHash {
69
if
c.amt == nil {
70
c.buildAugTree()
71
}
72
return
c.amt.RootHash()
73
}
74
75
func
(c *Claim) SetEvidence(shareIndex *big.Int) {
76
c.shareIndex = shareIndex
Callers
1
TestClaimAugMerkle
Function · 0.95
Implementers
2
Claim
protocol/claim.go
testClaim
protocol/test_claim.go
Calls
2
buildAugTree
Method · 0.95
RootHash
Method · 0.45
Tested by
1
TestClaimAugMerkle
Function · 0.76