[Feature] allow multiple --reseed-from entries
Created by: wqking
Currently the .su3 seed file name "i2pseeds.su3" and the predefined download hosts are hard coded in client/reseed.h.
That has two potential issues, 1, We can't modify the file name and the hosts without upgrade the tool. 2, More serious, in some countries such as China which I2P websites are banned, it's impossible (or very hard without VPN) to download from the predefined hosts. To make Monero/Kovri popular in such countries, we may expect that there are many "private seed servers". Then it's hard to use the "private seed servers" by default if we can't put all of them in config file.
I saw there is "reseed-from" entry in the config, but the issue is that it only supports one server. It's better to support multiple servers and the tool chooses the working server and abandons the banned server.
My suggestions, 1, Make "reseed-from" entry in the config be able to be multiple, such as "reseed-from-0", "reseed-from-1", etc. 2, If there is no any "reseed-from", or all "reseed-from"s don't work, the hard coded servers are used.
I'm happy to do it if we confirm it.
By submitting this issue, I confirm the following:
- I have read and understood the contributor guide in kovri-docs.
- I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
- I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.