-
-
Notifications
You must be signed in to change notification settings - Fork 5
Description
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.