mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-10 16:41:21 +00:00
substream -> substreams (#720)
This commit is contained in:
committed by
Pierre Krieger
parent
c5d08ab48c
commit
1c247a5914
@ -42,7 +42,7 @@ pub struct FloodsubBehaviour<TSubstream> {
|
||||
|
||||
/// List of peers the network is connected to, and the topics that they're subscribed to.
|
||||
// TODO: filter out peers that don't support floodsub, so that we avoid hammering them with
|
||||
// opened substream
|
||||
// opened substreams
|
||||
connected_peers: HashMap<PeerId, SmallVec<[TopicHash; 8]>>,
|
||||
|
||||
// List of topics we're subscribed to. Necessary to filter out messages that we receive
|
||||
|
Reference in New Issue
Block a user