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

@ -21,7 +21,10 @@ namespace data
Reseeder();
~Reseeder();
int ReseedNowSU3 ();
int ReseedFromServers ();
int ReseedFromSU3Url (const std::string& url);
int ProcessSU3File (const char * filename);
int ProcessZIPFile (const char * filename);
void LoadCertificates ();
@ -29,9 +32,6 @@ namespace data
void LoadCertificate (const std::string& filename);
int ReseedFromSU3 (const std::string& url);
int ProcessSU3File (const char * filename);
int ProcessZIPFile (const char * filename);
int ProcessSU3Stream (std::istream& s);
int ProcessZIPStream (std::istream& s, uint64_t contentLength);