Type Alias FloodsubConfig

pub type FloodsubConfig = Config;
👎Deprecated: Use Config instead.
Available on crate feature floodsub only.

Aliased Type§

struct FloodsubConfig {
    pub local_peer_id: PeerId,
    pub subscribe_local_messages: bool,
}

Fields§

§local_peer_id: PeerId

Peer id of the local node. Used for the source of the messages that we publish.

§subscribe_local_messages: bool

true if messages published by local node should be propagated as messages received from the network, false by default.