Skip to content

Commit

Permalink
chore(network): add todo on peer storage behaviour (#2025)
Browse files Browse the repository at this point in the history
Note added about adding peer scorer

Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan authored Dec 8, 2023
1 parent 040df1d commit bf96f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mm2src/mm2_p2p/src/behaviours/peer_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pub struct Connection {
}

/// A request/response protocol for some message codec.
///
/// TODO: implement a scoring algorithm of peers depending on
/// their activities/connections.
#[derive(Default)]
pub struct Behaviour {
/// The currently connected peers, their pending outbound and inbound responses and their known,
Expand Down

0 comments on commit bf96f22

Please sign in to comment.