summaryrefslogtreecommitdiff
path: root/tools/fetchallcerts.py
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-02-15 15:23:29 +0100
committerMagnus Ahltorp <map@kth.se>2015-02-15 15:23:29 +0100
commit2886ad4e64dae2194d0ba5c438637e0775e1ace2 (patch)
treed99a49b8cca4fb8d9094bdaeb51e5d41e27c52cd /tools/fetchallcerts.py
parente22bc22e81564ab80f271fd8c3ae616512e21a76 (diff)
Add tree size parameter to get_merkle_hash_64k.
Implement function to fetch consistency proof Implement function to calculate tree head from disk Implement function to calculate an intermediate node from disk
Diffstat (limited to 'tools/fetchallcerts.py')
-rwxr-xr-xtools/fetchallcerts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fetchallcerts.py b/tools/fetchallcerts.py
index 3b8c2f1..866bb43 100755
--- a/tools/fetchallcerts.py
+++ b/tools/fetchallcerts.py
@@ -89,7 +89,7 @@ merkle_64klayer = []
if args.store:
ncerts = None
for blocknumber in range(0, (tree_size / 65536) + 1):
- (resulttype, result) = get_merkle_hash_64k(args.store, blocknumber)
+ (resulttype, result) = get_merkle_hash_64k(args.store, blocknumber, write_to_cache=True)
if resulttype == "incomplete":
(incompletelength, hash) = result
ncerts = blocknumber * 65536 + incompletelength