Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bnb-chain/bsc
/ Resolve
Method
Resolve
p2p/dial_test.go:666–672 ·
view source on GitHub ↗
(n *enode.Node)
Source
from the content-addressed store, hash-verified
664
}
665
666
func
(t *dialTestResolver) Resolve(n *enode.Node) *enode.Node {
667
t.mu.Lock()
668
defer
t.mu.Unlock()
669
670
t.calls = append(t.calls, n.ID())
671
return
t.answers[n.ID()]
672
}
Callers
nothing calls this directly
Calls
3
Lock
Method · 0.80
ID
Method · 0.65
Unlock
Method · 0.45
Tested by
no test coverage detected