Rev542, Add files to hashfield on sign, Send my hashfield to connected peers on publish, Wait more time to checkModifications arrive, Test added files hashfield on sign
This commit is contained in:
parent
8e710beab1
commit
3764f98673
4 changed files with 18 additions and 4 deletions
|
@ -287,6 +287,7 @@ class ContentManager(object):
|
|||
if optional:
|
||||
self.log.info("- [OPTIONAL] %s (SHA512: %s)" % (file_relative_path, sha512sum))
|
||||
files_optional_node[file_relative_path] = {"sha512": sha512sum, "size": os.path.getsize(file_path)}
|
||||
self.hashfield.appendHash(sha512sum)
|
||||
else:
|
||||
self.log.info("- %s (SHA512: %s)" % (file_relative_path, sha512sum))
|
||||
files_node[file_relative_path] = {"sha512": sha512sum, "size": os.path.getsize(file_path)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue