Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CovenantSQL/CovenantSQL
/ lookupNode
Method
lookupNode
sqlchain/blockindex.go:129–134 ·
view source on GitHub ↗
(hash *hash.Hash)
Source
from the content-addressed store, hash-verified
127
}
128
129
func
(i *blockIndex) lookupNode(hash *hash.Hash) (b *blockNode) {
130
i.mu.RLock()
131
defer
i.mu.RUnlock()
132
b = i.index[*hash]
133
return
134
}
Callers
4
NewChainWithContext
Function · 0.80
produceBlock
Method · 0.80
TestAncestor
Function · 0.80
TestIndex
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestAncestor
Function · 0.64
TestIndex
Function · 0.64