radicle-heartwood-lfs/radicle-node
Alexis Sellier 98ee9c46a9
node: Fix state mismatch between service and wire
Due to never removing peers from the peer map in the wire
protocol module, it was possible for there to be multiple
connected peers with the same Node ID. Some might be in a
"connected" state, while others might be "disconnected".

This caused a bug where a peer, although connected would
be considered disconnected by the wire module, because
when searching for a peer with that Node ID, the disconnected
one would return first.

To fix this, we make sure to remove peers from the map once
the connection is dropped.
2023-03-15 16:46:27 +01:00
..
src node: Fix state mismatch between service and wire 2023-03-15 16:46:27 +01:00
Cargo.toml node: Move tracking store to `radicle` crate 2023-03-15 12:59:49 +01:00
Dockerfile Build container images for deployment 2022-12-14 17:15:40 +01:00