]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
verify hash chains on incoming blocks
authorBrian Warner <warner@allmydata.com>
Thu, 12 Apr 2007 20:07:40 +0000 (13:07 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 12 Apr 2007 20:07:40 +0000 (13:07 -0700)
commit8f58b30db9430cbe3208930b421eb3407270d907
treed2ce3311bb250244be4cb50da0afa1a2d08369b6
parent234951041f5e02586445221abf7d5ce2902fe60b
verify hash chains on incoming blocks
Implement enough of chunk.IncompleteHashTree to be usable.
Rearrange download: all block/hash requests now go through
a ValidatedBucket instance, which is responsible for retrieving
and verifying hashes before providing validated data. Download
was changed to use ValidatedBuckets everywhere instead of
unwrapped RIBucketReader references.
src/allmydata/chunk.py
src/allmydata/download.py
src/allmydata/test/test_encode.py
src/allmydata/test/test_hashtree.py