Utilize identify events to add peers to the routing table (#472)
* feat: consume identify events to evaluate routing table addition * fix: routing table no longer gets an update just because new messages have arrived or been sent * fix: add already connected peers into the routing table before listening to events Co-authored-by: Raúl Kripalani <raul.kripalani@gmail.com> Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Showing
... | ... | @@ -11,6 +11,7 @@ require ( |
github.com/ipfs/go-ipfs-util v0.0.1 | ||
github.com/ipfs/go-log v1.0.2 | ||
github.com/jbenet/goprocess v0.1.3 | ||
github.com/libp2p/go-eventbus v0.1.0 | ||
github.com/libp2p/go-libp2p v0.6.1 | ||
github.com/libp2p/go-libp2p-core v0.5.0 | ||
github.com/libp2p/go-libp2p-kbucket v0.2.3 | ||
... | ... |
Please register or sign in to comment