MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Dial

Function Dial

naconn/conn.go:165–167  ·  view source on GitHub ↗

Dial connects to the node with remote node id.

(remote proto.NodeID)

Source from the content-addressed store, hash-verified

163
164// Dial connects to the node with remote node id.
165func Dial(remote proto.NodeID) (conn net.Conn, err error) {
166 return DialEx(remote, false)
167}
168
169// DialEx connects to the node with remote node id.
170func DialEx(remote proto.NodeID, isAnonymous bool) (conn net.Conn, err error) {

Callers 4

TestNAConnFunction · 0.70
GetExMethod · 0.50
newClientMethod · 0.50
TestAcceptFuncFunction · 0.50

Calls 1

DialExFunction · 0.85

Tested by 3

TestNAConnFunction · 0.56
GetExMethod · 0.40
TestAcceptFuncFunction · 0.40