Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CovenantSQL/CovenantSQL
/ hashKey
Function
hashKey
consistent/consistent.go:359–361 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
357
}
358
359
func
hashKey(key string) proto.NodeKey {
360
return
proto.NodeKey{Hash: hash.HashH([]byte(key))}
361
}
362
363
func
(c *Consistent) updateSortedHashes() {
364
hashes := c.sortedHashes[:0]
Callers
6
AddCache
Method · 0.85
RemoveCache
Method · 0.85
GetNeighbor
Method · 0.85
GetNode
Method · 0.85
GetTwoNeighbors
Method · 0.85
GetNeighborsEx
Method · 0.85
Calls
1
HashH
Function · 0.92
Tested by
no test coverage detected