Added option to reseed from ZIP file

This commit is contained in:
Darknet Villain 2017-02-01 17:17:25 -05:00
parent 8a2c4ab3de
commit 21e23d5511
4 changed files with 43 additions and 25 deletions

View file

@ -167,6 +167,7 @@ namespace config {
("reseed.verify", value<bool>()->default_value(false), "Verify .su3 signature")
("reseed.floodfill", value<std::string>()->default_value(""), "Path to router info of floodfill to reseed from")
("reseed.file", value<std::string>()->default_value(""), "Path to local .su3 file or HTTPS URL to reseed from")
("reseed.zipfile", value<std::string>()->default_value(""), "Path to local .zip file to reseed from")
("reseed.urls", value<std::string>()->default_value(
"https://reseed.i2p-projekt.de/,"
"https://i2p.mooo.com/netDb/,"