Version 0.3.3, Rev580, DB recreate bugfix, Get empty hashfields, Better stat formatting, Query hashfield right after content.json downloaded

This commit is contained in:
HelloZeroNet 2015-11-12 02:04:45 +01:00
parent 199e0e70b2
commit ae98522855
7 changed files with 45 additions and 15 deletions

View file

@ -198,6 +198,7 @@ class FileServer(ConnectionServer):
if first_announce: # Send my optional files to peers
site.sendMyHashfield()
site.updateHashfield()
time.sleep(2) # Prevent too quick request
@ -211,7 +212,8 @@ class FileServer(ConnectionServer):
config.loadTrackersFile()
for address, site in self.sites.items():
site.announce(num=1, pex=False)
site.sendMyHashfield(num_send=1)
site.sendMyHashfield(3)
site.updateHashfield(1)
time.sleep(2)
first_announce = False