A command-line utility for analyzing Solana network Quality of Service (QoS) parameters for a given validator node, focusing on QUIC stream and receive window metrics.
This tool helps validators understand their network QoS parameters based on their stake weight in the network. Because QUIC stream limits and receive window sizes are constrained, increasing stake beyond certain thresholds yields diminishing returns for improving a validator's network QoS. In general each transaction requires to open a new uni directional stream to the leader to be sent. The recieve_window defines the combined max data in bytes a client can send from all its uni-streams.
this tool calculates:
- Maximum allowed concurrent uni-streams (agave-implementation)
- Receive window size (agave-implementation)
- Maximum transaction capacity
cargo r -- --rpc-url https://api.mainnet-beta.solana.com --validator-key YOUR_VALIDATOR_PUBKEY