casper-network / casper-sidecar

Apache License 2.0
2 stars 7 forks source link

Validate config to check whether any server is enabled #320

Closed jacek-casper closed 1 month ago

jacek-casper commented 1 month ago

We currently allow disabling all servers... People have run into this when they've misnamed some config settings and ended up running it with all the servers disabled which leads to a confusing panic error message from tokio. I've added validation for at least one server being enabled in the config.