mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 14:30:43 -04:00
added display of checking stage in GUI (at end of transfer). Gave names to the states in ftTransferModule. Added a flag for ForceCheck files (not functional yet)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
36a9159884
commit
fbd8a33db0
7 changed files with 119 additions and 49 deletions
|
@ -58,7 +58,10 @@ class ftFileCreator: public ftFileProvider
|
|||
FileChunksInfo::ChunkStrategy getChunkStrategy() ;
|
||||
|
||||
// Computes a sha1sum of the partial file, to check that the data is overall consistent.
|
||||
//
|
||||
// This function is not mutexed. This is a bit dangerous, but otherwise we might stuck the GUI for a
|
||||
// long time. Therefore, we must pay attention not to call this function
|
||||
// at a time file_name nor hash can be modified, which is quite easy.
|
||||
|
||||
bool hashReceivedData(std::string& hash) ;
|
||||
|
||||
// Computes a CRC32 map of all chunks, for comparison with reference, and re-starting invalid chunks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue