Hi,
Is there a way to explicitly close a connection with a peer? I don’t see a Close
function in the Host
interface (go-libp2p).
I see that one way this may be be done is using decaying tags
by setting the tag value to a very low value. But that may not guarantee that the connection is removed since there is a check around the low and high watermark before connections are attempted to be closed.
I have a use case where I would like to close some connections since they have now been blacklisted.
thanks,
Vishal