You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, identify and the dht 'check if this peer supports the dht protocol' happen concurrently. This doesnt bite us too bad, except for the fact that our 'happy path' for DHT peer detection relies on identify discovering protocols of the peers we talk to.
I noticed this when I was looking into using a peers reported listen addrs to determine if we should add them to our routing table.
We should probably use the event bus to signal 'identify complete' for peers, and have the DHT use that to find new peers to add to their table, instead of the connection notifications (i think this is the plan anyways, but just pointing it out)
The text was updated successfully, but these errors were encountered:
As far as I can tell, identify and the dht 'check if this peer supports the dht protocol' happen concurrently. This doesnt bite us too bad, except for the fact that our 'happy path' for DHT peer detection relies on identify discovering protocols of the peers we talk to.
I noticed this when I was looking into using a peers reported listen addrs to determine if we should add them to our routing table.
We should probably use the event bus to signal 'identify complete' for peers, and have the DHT use that to find new peers to add to their table, instead of the connection notifications (i think this is the plan anyways, but just pointing it out)
The text was updated successfully, but these errors were encountered: