RetroShare/libretroshare/src/retroshare
csoler 889a2b2433 Added deferred check of chunks during file transfer. Chunk sha1 sums are requested to the sources and checked for downloaded data.
Validated chunks are shared to other peers. Force check is now very simple since it just turns all chunks into "needs checking" mode
and sums are asked to sources. Sources maintain a temporary cache of chunks. Since sums are requested sparsely, this should not 
affect the sources in terms of performance. We can still imagine precomputing and saving sha1 of chunks while hashing them.

For backward compatibility reasons, the following has been setup *temporarily* in this version:
- unvalidated chunks are still considered as already obtained, and are shared and saved
- force check has been disabled
- final file check is maintained
- in case of file fail, the old checking mode will be used.

All changes for next version are kept in the define 'USE_NEW_CHUNK_CHECKING_CODE' that will be made the default in a few weeks.
At start, I expect most chunk to stya yellow during download, until most sources are able to provide chunk hashs.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5019 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-15 19:55:43 +00:00
..
Makefile This intimidating patch renames libretroshare/src/rsiface/ to 2010-08-06 09:40:23 +00:00
rsblogs.h This intimidating patch renames libretroshare/src/rsiface/ to 2010-08-06 09:40:23 +00:00
rschannels.h auto download option: 2011-04-07 22:09:16 +00:00
rsconfig.h Net, Dht and Configuration changes. 2011-07-30 16:57:40 +00:00
rsdht.h Attempt at fixing the Disconnection issue. 2012-01-19 16:23:57 +00:00
rsdisc.h Added new statusbar widget about pending discovery informations. 2011-01-07 16:56:57 +00:00
rsdistrib.h Final tweaks to dummy msgs: 2011-02-11 14:08:04 +00:00
rsdsdv.h Rewritten Dsdv Stable Route decision algorithm. 2011-11-29 15:43:11 +00:00
rsexpr.h implemented a backward compatible fix for bug when searching (advanced) with max size larger than 2Gb 2011-03-15 23:14:11 +00:00
rsfiles.h added RequestDirDetails(path,...) for file sync plugin. 2012-01-17 20:38:25 +00:00
rsforums.h added private groups option to forums 2011-08-29 21:20:48 +00:00
rsgame.h This intimidating patch renames libretroshare/src/rsiface/ to 2010-08-06 09:40:23 +00:00
rshistory.h Moved the chat history into the libretroshare. 2011-09-29 09:20:09 +00:00
rsiface.h The channel message (in channels) is set to read when the user clicks on the show more button. 2012-02-12 00:58:47 +00:00
rsinit.h removed calls to exit() in rsinit. Replaced them by proper return false 2011-12-06 23:00:42 +00:00
rsmsgs.h Suppressed echoes in chat lobbies by: 2012-01-27 23:13:28 +00:00
rsnotify.h Added a new checbox in the settings (NotifyPage) to enable/disable the new SecurityItem. It is enabled by default, but all existing users need to enable it. 2011-08-21 22:28:19 +00:00
rspeers.h Attempted fix for maintaining External Port in Manual Forwarded Mode. 2012-02-11 12:18:56 +00:00
rsphoto.h This intimidating patch renames libretroshare/src/rsiface/ to 2010-08-06 09:40:23 +00:00
rsplugin.h added ability for plugins to return their own PopupChatDialog class 2012-02-25 12:17:36 +00:00
rsstatus.h Extracted a new widget ChatWidget for the basic chat handling from the PopupChatDialog and use it in ChatLobbyDialog too. 2012-01-17 20:36:36 +00:00
rsturtle.h added control over TR forward rate, so that we can experiment with it on large bandwidth servers 2012-02-10 22:23:06 +00:00
rstypes.h Added deferred check of chunks during file transfer. Chunk sha1 sums are requested to the sources and checked for downloaded data. 2012-03-15 19:55:43 +00:00