Overview
Thestart-boot-node command starts a bootstrap node that helps SSV operators discover peers on the network. Bootstrap nodes don’t participate in validator duties - they only facilitate peer discovery via discv5.
Bootstrap nodes are optional infrastructure for the SSV network. Most operators should use
start-node instead.Usage
When to Run a Bootstrap Node
Bootstrap nodes are useful for:- Network operators - Running dedicated discovery infrastructure
- Private networks - Facilitating peer discovery in isolated environments
- Testing - Setting up controlled test networks
Flags
Path to the configuration file (YAML format).
Discovery protocol to use. Currently only
discv5 is supported.External IP address to advertise to peers. Auto-detected if not specified.
UDP port for discv5 discovery.
TCP port for libp2p connections.
Private key for the node’s network identity (hex-encoded).
Configuration Example
Create a minimalbootnode.yaml configuration:
bootnode.yaml
Starting the Bootstrap Node
Generate Network Key
Generate a unique network private key for your bootstrap node:Add this key to your configuration file.
Start the Node
Launch the bootstrap node:The node will start and begin accepting discovery requests.
Using a Bootstrap Node
Operators can connect to your bootstrap node by adding it to their configuration:operator-config.yaml
Monitoring
Bootstrap nodes expose the same health endpoints as regular nodes:Docker Deployment
Run a bootstrap node using Docker:docker-compose.yml
Troubleshooting
Bootstrap node not discoverable
Bootstrap node not discoverable
Symptoms: Operators can’t discover the bootstrap nodeSolutions:
- Verify firewall rules allow UDP 12001
- Check that external IP is correctly configured
- Ensure ENR is being shared correctly
- Test connectivity:
nc -zvu <your-ip> 12001
No peers connecting
No peers connecting
Symptoms:
/v1/node/peers shows 0 peersSolutions:- Bootstrap nodes are discovery-only - low peer counts are normal
- Verify operators have added your ENR to their bootnodes list
- Check logs for discovery errors
High resource usage
High resource usage
Symptoms: Bootstrap node using excessive CPU/memorySolutions:
- Bootstrap nodes should use minimal resources
- Check for DDoS attacks or discovery spam
- Rate-limit discovery requests at the firewall level
Security Considerations
Differences from Regular Nodes
| Feature | Bootstrap Node | Operator Node |
|---|---|---|
| Participates in duties | ❌ No | ✅ Yes |
| Requires operator keys | ❌ No | ✅ Yes |
| Requires beacon node | ❌ No | ✅ Yes |
| Facilitates discovery | ✅ Yes | ✅ Yes |
| Stores validator shares | ❌ No | ✅ Yes |
| Resource requirements | Low | High |
See Also
- start-node - Run a full SSV operator node
- Configuration Reference - P2P configuration options
- Network Topology - Understanding SSV networking
Source Reference
Implementation:cli/bootnode/boot_node.go