]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
hash trees: further cleanup, to make sure we're validating the right thing
authorBrian Warner <warner@allmydata.com>
Fri, 13 Apr 2007 02:41:48 +0000 (19:41 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 13 Apr 2007 02:41:48 +0000 (19:41 -0700)
commit30133a7cdf00075c676918c71f7b42ca6470303a
treee23e63009d3b4d44cee0965e9c82b8961b70aa61
parentd351cd7674ebe3ccbeceedb32a62c564b01d8faf
hash trees: further cleanup, to make sure we're validating the right thing
hashtree.py: improve the methods available for finding out which hash nodes
 are needed. Change set_hashes() to require that every hash provided can
 be validated up to the root.
download.py: validate from the top down, including the URI-derived roothash
 in the share hash tree, and stashing the thus-validated share hash for use
 in the block hash tree.
src/allmydata/download.py
src/allmydata/encode.py
src/allmydata/hashtree.py
src/allmydata/test/test_hashtree.py