Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/chain/Core
/ add
Method
add
core/txdb/cache.go:64–68 ·
view source on GitHub ↗
(block *legacy.Block)
Source
from the content-addressed store, hash-verified
62
}
63
64
func
(c *blockCache) add(block *legacy.Block) {
65
c.mu.Lock()
66
c.lru.Add(block.Height, block)
67
c.mu.Unlock()
68
}
Callers
15
lookup
Method · 0.95
SaveBlock
Method · 0.80
transact
Method · 0.80
bench
Method · 0.80
pay
Method · 0.80
accountTags
Method · 0.80
assetTags
Method · 0.80
setup
Method · 0.80
testBatchTransaction
Method · 0.80
Client
Method · 0.80
pinCertificate
Method · 0.80
buildHttpClient
Method · 0.80
Calls
1
Add
Method · 0.45
Tested by
4
accountTags
Method · 0.64
assetTags
Method · 0.64
setup
Method · 0.64
testBatchTransaction
Method · 0.64