diff --git a/mm2src/mm2_p2p/src/behaviours/peer_store.rs b/mm2src/mm2_p2p/src/behaviours/peer_store.rs index cd7b437f58..8d0bd44582 100644 --- a/mm2src/mm2_p2p/src/behaviours/peer_store.rs +++ b/mm2src/mm2_p2p/src/behaviours/peer_store.rs @@ -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,