From 2886ad4e64dae2194d0ba5c438637e0775e1ace2 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Sun, 15 Feb 2015 15:23:29 +0100 Subject: 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 --- tools/fetchallcerts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/fetchallcerts.py') 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 -- cgit v1.1