Commit c8366907 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b92f383c
...@@ -456,7 +456,7 @@ func (node *_MasteredNode) updateNodeTab(ctx context.Context, msg *proto.NotifyN ...@@ -456,7 +456,7 @@ func (node *_MasteredNode) updateNodeTab(ctx context.Context, msg *proto.NotifyN
} }
} }
// XXX logging under lock ok? (if caller took e.g. .opMu before applying updates) // XXX logging under lock ok?
log.Infof(ctx, "full nodetab:\n%s", node.state.NodeTab) log.Infof(ctx, "full nodetab:\n%s", node.state.NodeTab)
return nil return nil
} }
...@@ -508,5 +508,5 @@ func dialNode(ctx context.Context, typ proto.NodeType, net xnet.Networker, addr ...@@ -508,5 +508,5 @@ func dialNode(ctx context.Context, typ proto.NodeType, net xnet.Networker, addr
} }
// XXX = Dial node by NID, verify it accepts wit "MyNID" == NID, YourNID == NID we sent // XXX = Dial node by NID, verify it accepts with "MyNID" == NID, YourNID == NID we sent
// func dialNID // func dialNID
...@@ -455,6 +455,9 @@ func (p *Node) Dial(ctx context.Context) (*neonet.NodeLink, error) { ...@@ -455,6 +455,9 @@ func (p *Node) Dial(ctx context.Context) (*neonet.NodeLink, error) {
return dialing.link, dialing.err return dialing.link, dialing.err
} }
// XXX unused - kill?
// Conn returns conn to the peer. XXX -> DialConn ? // Conn returns conn to the peer. XXX -> DialConn ?
// //
// If there is no link established - conn first dials peer (see Dial). // If there is no link established - conn first dials peer (see Dial).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment