Type Alias FloodsubConfig
pub type FloodsubConfig = Config;👎Deprecated: Use
Config instead.Available on crate feature
floodsub only.Aliased Type§
pub struct FloodsubConfig {
pub local_peer_id: PeerId,
pub subscribe_local_messages: bool,
}Fields§
§local_peer_id: PeerIdPeer id of the local node. Used for the source of the messages that we publish.
subscribe_local_messages: booltrue if messages published by local node should be propagated as messages received from
the network, false by default.