RetroShare/libretroshare/src
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
..
dbase Added check in cachestrapper to see if a duplicate cache has been requested. 2012-01-17 22:01:04 +00:00
dht Removed some more compiler warnings from Windows compile (GCC 4.4). 2012-02-17 10:03:38 +00:00
distrib Prepared libretroshare for compile with OpenSSL 1.0. 2012-03-13 20:35:58 +00:00
ft 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
plugins Fixed utf8 characters in the transfer tab name of plugins. 2012-02-28 18:25:57 +00:00
pqi 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
retroshare 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
rsserver Count the friends (gpg id's) instead of the locations (ssl id's) in the statusbar. 2012-02-25 01:48:56 +00:00
scripts added for MSYS compile releated changes by default its disabled 2009-09-05 17:23:58 +00:00
serialiser 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
services disabled adding new keys from friends of friends when discovery if off 2012-03-12 21:38:41 +00:00
tcponudp Removed some more compiler warnings from Windows compile (GCC 4.4). 2012-02-17 10:03:38 +00:00
tests 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
turtle 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
unfinished removed p3portservice. Moved to unfinished/ 2011-07-31 12:32:38 +00:00
upnp Removed some more compiler warnings from Windows compile (GCC 4.4). 2012-02-17 10:03:38 +00:00
util 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
zeroconf * Enabled Relays by default. 2012-01-20 17:50:19 +00:00
BUGS Created V0.3.x branch and moved the head into the trunk directory. 2007-11-15 03:18:48 +00:00
Doxyfile git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@935 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2009-01-20 20:09:44 +00:00
libretroshare.pro update changelog and corrected some path for win libs 2012-02-20 12:38:04 +00:00
licence Created V0.3.x branch and moved the head into the trunk directory. 2007-11-15 03:18:48 +00:00
mingw32make.bat modified mingw32make.bat do make clean before start to compile 2010-06-08 22:24:00 +00:00
Readme.txt removed old instructions from readme 2010-03-04 11:27:34 +00:00
svn_revision.bat added svn_revision.bat file to update easier the rsversion.h under Windows, and modifyd the mingw32make.bat before compiling write the latest revision to rsversion.h 2010-06-01 22:46:56 +00:00
TODO git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@514 b45a01b8-16f6-495d-af2f-9b41ad6348cc 2008-04-24 07:03:31 +00:00
version_detail.sh add back the git part of the version script 2010-02-09 19:10:58 +00:00

=======================================================================================
README for RetroShare
=======================================================================================

RetroShare web site . . . . http://retroshare.sourceforge.net/
Documentation . . . . . . . http://retroshare.sourceforge.net/doc.html
Support . . . . . . . . . . http://retroshare.sourceforge.net/support.html
Forums  . . . . . . . . . . http://retroshare.sourceforge.net/forum/
Wiki  . . . . . . . . . . . http://retroshare.sourceforge.net/wiki/
The Developers site . . . . http://retroshare.sourceforge.net/developers.html
Project site  . . . . . . . https://sourceforge.net/projects/retroshare

Contact:  . . . . . . . . . retroshare@lunamutt.com ,defnax@users.sourceforge.net


Compiling + Running RetroShare (V0.5.xxx)
=========================================================================================
REQUIREMENTS
=========================================================================================

Libraries/Tools:
	* C/C++ Compiler. 	  	  (standard on Linux/cygwin)
	* Qt >= 4.5.x 		  	    http://qt.nokia.com/downloads/downloads#lgpl
	* OpenSSL       	      	http://www.openssl.org/source/openssl-0.9.8k.tar.gz
	* MiniUPnP           	  	http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.3.tar.gz
	* gpgme 		              ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2
	* libgpg-error          	ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2 

Windows only:
	* Cygwin  	          	  http://www.cygwin.com/cygwin/setup.exe (for openssl compile)
	* MinGW/Msys package  		http://sourceforge.net/projects/mingw/files/	 (for compile gpgme,libgpg-error)
	* Pthreads            		http://sourceware.org/pthreads-win32/ 
	* Zlib                		http://www.zlib.net/
	
	Latest RetroShare sources from (SVN) sourceforge.net:	
    	svn co https://retroshare.svn.sourceforge.net/svnroot/retroshare retroshare 

=========================================================================================

Build Scripts are avaible on SVN for Debian and Ubuntu:
http://retroshare.svn.sourceforge.net/viewvc/retroshare/trunk/build_scripts/

Latest stable OpenSSL is available at:
http://www.openssl.org

Latest miniupnpc-1.3 is avaible at:
http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.3.tar.gz

Latest gpgme Library is avaible at:
ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2

Latest libgpg-error Library is avaible at:
ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2

Windows only:
	pthreads: ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz 
	zlib:	    http://www.zlib.net/zlib-1.2.3.tar.gz 
=========================================================================================
You can find here instrustions howto compile libretroshare and gui:
http://retroshare.sourceforge.net/wiki/index.php/Developers_Corner
	
=========================================================================================	
You can go on over to our forum when you have trouble with compiling:
http://retroshare.sourceforge.net/forum/
---------------------------------------------