v0.8.2
Fixes two tricky bugs:
- Ensures we don't forget addresses observed by connected peers. Previously, this wasn't so bad because our peers would know our addresses, and would be able to direct new peers towards us. However, we'll now tell all of our peers our new address set, so they'll also forget our address :(.
- Harden logic around identifying connections.
Note: 2 means that all new streams now wait for identify to complete. Previously, only Connect
did this. In practice, this should save time as:
- Identify is always one RTT.
- Identify starts as soon as we get the connection.
- Once identify has completed, all streams can skip the negotiation step.
Otherwise, streams trying to negotiate one of multiple protocols may have to spend several round-trips negotiating.