wind-network/windexer

Enhance Network Crate: Implement Publisher/Relay Nodes

Aperta

#2 aperta il 12 feb 2025

 (0 commenti) (0 reazioni) (1 assegnatario)Rust (5 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (14 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor