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
At the moment, 8 or less addresses are extracted from the available addresses of a peer.
Then, each protocol is provided a list of addresses and the peer enters an Opening state (multiple dial requests):
Not sure if this should be of high priority. If it happens 8 first addresses of a peer are unreachable, there is something odd with discovery. Under normal circumstances peers should not provide that many external addresses, and the list should be ordered in a way most reliable addresses are returned first (i.e., --public-addr).
Yep indeed, I think #209 should be higher on our list. I think this was one of the most important issues that came about after the kad performance investigation that may improve things :D
Litep2p supports dialing a peer with a maximum of 8 parallel dial addresses.
litep2p/src/transport/manager/mod.rs
Lines 472 to 476 in e3a22d5
At the moment, 8 or less addresses are extracted from the available addresses of a peer.
Then, each protocol is provided a list of addresses and the peer enters an
Opening
state (multiple dial requests):litep2p/src/transport/manager/mod.rs
Lines 548 to 570 in e3a22d5
This is problematic when the dial fails on initially the provided addresses, although the peer contains more addresses that are rechable.
To make the dialing more robust, refill dial addresses if any, after dial failures:
option A: Refactor transport trait to modify the
open()
method to return a futureoption B: Refactor the transport manager to refill the dial addresses
I tend to lean towards option A for the long term benefits
The text was updated successfully, but these errors were encountered: