NodeInfo returns the Node's Info from the Switch.
()
| 1316 | |
| 1317 | // NodeInfo returns the Node's Info from the Switch. |
| 1318 | func (n *Node) NodeInfo() p2p.NodeInfo { |
| 1319 | return n.nodeInfo |
| 1320 | } |
| 1321 | |
| 1322 | func makeNodeInfo( |
| 1323 | config *cfg.Config, |
no outgoing calls