mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-26 16:25:18 +00:00
only sub NewFile gossip msg
This commit is contained in:
parent
c548cb388c
commit
3bb242954b
@ -15,12 +15,12 @@ pub const ANNOUNCE_FILE_TOPIC: &str = "announce_file";
|
|||||||
pub const ANNOUNCE_CHUNKS_TOPIC: &str = "announce_chunks";
|
pub const ANNOUNCE_CHUNKS_TOPIC: &str = "announce_chunks";
|
||||||
pub const ANNOUNCE_SHARD_CONFIG_TOPIC: &str = "announce_shard_config";
|
pub const ANNOUNCE_SHARD_CONFIG_TOPIC: &str = "announce_shard_config";
|
||||||
|
|
||||||
pub const CORE_TOPICS: [GossipKind; 5] = [
|
pub const CORE_TOPICS: [GossipKind; 1] = [
|
||||||
GossipKind::NewFile,
|
GossipKind::NewFile,
|
||||||
GossipKind::FindFile,
|
// GossipKind::FindFile,
|
||||||
GossipKind::FindChunks,
|
// GossipKind::FindChunks,
|
||||||
GossipKind::AnnounceFile,
|
// GossipKind::AnnounceFile,
|
||||||
GossipKind::AnnounceChunks,
|
// GossipKind::AnnounceChunks,
|
||||||
];
|
];
|
||||||
|
|
||||||
/// A gossipsub topic which encapsulates the type of messages that should be sent and received over
|
/// A gossipsub topic which encapsulates the type of messages that should be sent and received over
|
||||||
|
Loading…
Reference in New Issue
Block a user