Skip to content

Enhance Network Crate: Implement Publisher/Relay Nodes #2

@vivekpal1

Description

@vivekpal1

The current implementation in the network crate (located at crates/windexer-network/) provides a basic foundation for node communication using libp2p gossipsub and mDNS. To improve scalability and message propagation efficiency, we propose introducing distinct node roles—namely, relayer nodes and publisher nodes—within the mesh network.

Relayer Nodes:
These nodes will focus on efficiently routing and forwarding messages across the network. By filtering and re-transmitting valid messages, relayer nodes will provide redundancy and low-latency propagation, ensuring robust network connectivity even as the node count increases.
Publisher Nodes:
These nodes will serve as the primary entry point for external data (e.g., Solana blockchain events) into the wIndexer system. They will be responsible for ingesting, validating, and publishing new messages into the network, leveraging both the tipping mechanisms from Jito integration and our existing data ingestion logic.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions