SetNode update current node info and broadcast node update request.
(req *GossipRequest, resp *interface{})
| 39 | |
| 40 | // SetNode update current node info and broadcast node update request. |
| 41 | func (s *GossipService) SetNode(req *GossipRequest, resp *interface{}) (err error) { |
| 42 | return s.s.SetNodeEx(req.Node, req.TTL, req.GetNodeID().ToNodeID()) |
| 43 | } |