Relay nodes are at the heart of Diodes decentralized infrastructure network. Each node helps devices to communicate securely and efficiently through the Diode network. More nodes in more regions mean more available bandwidth for a growing network.
When deploying a node it should be setup on publicly reachable interfaces with a public IP. If the Node is not reachable from other nodes it might eventually get blocked and not receive any traffic. Nodes are gaining reputation over time when they stay up and available.
To get started with the diode node install the latest snap release:
sudo snap install diode-nodeAfter installation all configuration values are available via the snap config system:
sudo snap get diode-nodeTo optimize Linux for maximum network performance we advise to enable tcp bbr:
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
tcp_bbr
And then reboot or
sudo modprobe tcp_bbr
sudo sysctl --systemWhen running the snap installation then it's a two step process to see the last service restart reason:
- Get the timestamp of the last service restart
- Read the logs around that timestamp
> systemctl show -p ActiveEnterTimestamp snap.diode-node.service.service
ActiveEnterTimestamp=Mon 2024-12-30 02:57:06 UTC
> journalctl -u snap.diode-node.service.service --since "2024-12-30 02:50:00"