Keep config file clean

The config has one entry for white listing satllites. These have to be entered as comma seperated list.
In theory this list can be very long, making the config file unusable and also maintaining the list of satellite is awful.

Idea is to have a seperate list for whitelisting and blacklisting satellites. This can be easily accomplished by having 2 lists in the config folder. Name could be hardcoded something like “satellites.whitelist” and “satellites.blacklist”. In this list a SNO could simply add the respective satellite url one per line.
In the config file the setting could be changed to a switch like “storage.whitelisted-satellites: enabled/disabled” and “storage.blacklisted-satellites. enabled/disabled”

Added as suggestion: https://ideas.storj.io/ideas/V3-I-150

2 Likes