Jacek Sieka 936440fccd
use libp2p peer events to track peer (#1468)
this resolves some peer counting issues that were happening because the
lifetime future in PeerInfo was unreliable (multiple PeerInfo instances
existed per peer)

In addition, this solves another race condition: when connecting to a
peer and later dialling that protocol, it is not certain that the same
connection will be used if there's a concurrent incoming peer connection
ongoing - better not make too many assumptions about who sent statuses
when.
2020-08-10 12:58:34 +02:00
..
2020-08-04 17:27:19 +03:00
2020-08-08 18:00:19 +02:00
2020-07-07 17:51:02 +02:00
2020-08-08 18:00:19 +02:00
2020-07-13 16:58:56 +02:00
2020-02-21 01:35:54 +01:00
2020-08-08 18:00:19 +02:00
2020-08-09 16:38:30 +02:00
2020-01-24 09:36:04 +01:00
2019-10-07 23:56:34 +09:00
2020-07-07 17:51:02 +02:00
2020-06-10 00:50:10 +08:00
2020-04-24 11:47:51 +02:00
2020-01-21 01:26:57 +02:00
2020-03-18 17:20:34 +01:00
2020-02-11 23:16:02 +01:00