Browse Source

add comment about the unstable nature of BasicHost.PushIdentify

pull/454/head
vyzo 6 years ago
parent
commit
5d8988f3ee
  1. 1
      p2p/host/basic/basic_host.go

1
p2p/host/basic/basic_host.go

@ -258,6 +258,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) {
}
// PushIdentify pushes an identify update through the identify push protocol
// Warning: this interface is unstable and may disappear in the future.
func (h *BasicHost) PushIdentify() {
h.ids.Push()
}

Loading…
Cancel
Save