diff options
author | Magnus Ahltorp <map@kth.se> | 2015-02-15 15:23:29 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-02-15 15:23:29 +0100 |
commit | 2886ad4e64dae2194d0ba5c438637e0775e1ace2 (patch) | |
tree | d99a49b8cca4fb8d9094bdaeb51e5d41e27c52cd /tools/fetchallcerts.py | |
parent | e22bc22e81564ab80f271fd8c3ae616512e21a76 (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-x | tools/fetchallcerts.py | 2 |
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 |