Running Pinger allows the validator to share leader data transmission times with the network.
When an RPC receives a transaction message to be included in a block, it must forward the message to the leader. Fast data transmission to the leader is crucial for network efficiency and consensus speed.
Monitoring your validator's ping times ensures it meets leader schedule performance requirements.
Ping times measure how long it takes for your validator to communicate with the current leader. Since the leader changes every four slots (1.6s), ping time variance (typically 500–3000ms) depends on the distance to the constantly switching leader.
Ensure the keypair has funds, as a transaction is sent with each ping.
Enable UFW if it is not already enabled:
Allow traffic on port 3334:
Check the service status:
View logs to ensure correct operation:
Once running, your validator will continuously measure and share leader ping times.
You can also check your ping times on x1val.online:

solana config set -k ~/.config/solana/id.jsonsudo ufw enablesudo ufw allow 3334/tcp# Update and install dependencies
sudo apt update
sudo apt install -y nodejs jq
# Clone the Pinger repository
git clone https://github.com/x1-labs/x1-pinger/
cd x1-pinger
npm install
# Set up the system service
cp system/x1-pinger.service /etc/systemd/system/x1-pinger.service
# If installed in a different directory, update the service file accordingly
# nano /etc/systemd/system/x1-pinger.service
# Enable and start the service
sudo systemctl enable --now x1-pingersudo systemctl status x1-pingerjournalctl -u x1-pinger -fsudo systemctl stop x1-pingercurl http://localhost:3334/ping_times | jq

