lighthouse-pulse/beacon_node/lighthouse_network
Divma fbafe416d1 Move the peer manager to be a behaviour (#2773)
This simply moves some functions that were "swarm notifications" to a network behaviour implementation.

Notes
------
- We could disconnect from the peer manager but we would lose the rpc shutdown message
- We still notify from the swarm since this is the most reliable way to get some events. Ugly but best for now
- Events need to be pushed with "add event" to wake the waker

Co-authored-by: Divma <26765164+divagant-martian@users.noreply.github.com>
2021-11-08 00:01:10 +00:00
..
src Move the peer manager to be a behaviour (#2773) 2021-11-08 00:01:10 +00:00
tests Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
Cargo.toml Upgrade to latest libp2p (#2605) 2021-10-29 01:59:29 +00:00