]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
immutable: refactor uploader to do just encoding-and-uploading, not encryption
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 7 Jan 2009 04:48:22 +0000 (21:48 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 7 Jan 2009 04:48:22 +0000 (21:48 -0700)
commitc85f75bb08dd93b1dddfb0bb92d7dd597426be87
treec3b479b9d28a9a4c1efdca68fc6130d6f344e2cb
parent81add135dc0a2dc14fc2113b192b8bef007e6348
immutable: refactor uploader to do just encoding-and-uploading, not encryption
This makes Uploader take an EncryptedUploadable object instead of an Uploadable object.  I also changed it to return a verify cap instead of a tuple of the bits of data that one finds in a verify cap.
This will facilitate hooking together an Uploader and a Downloader to make a Repairer.
Also move offloaded.py into src/allmydata/immutable/.
src/allmydata/client.py
src/allmydata/immutable/encode.py
src/allmydata/immutable/offloaded.py [new file with mode: 0644]
src/allmydata/immutable/upload.py
src/allmydata/interfaces.py
src/allmydata/offloaded.py [deleted file]
src/allmydata/test/test_encode.py
src/allmydata/test/test_helper.py
src/allmydata/test/test_system.py