mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
Enabled full chunk checking code:
- unchecked chunks are not made available to swarming sources, not saved as done. - force check now uses the simple method to put all chunks in checking mode - force checked files can be cancelled (finally!) - improved display (use red for active chunks, yellow for checking) - cache file are not using chunk checking (assume_availability=true) The code still contains the #ifdef. It should be removed soon if everything works ok. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c26c1f2163
commit
36198b7e6a
6 changed files with 59 additions and 14 deletions
|
|
@ -47,6 +47,7 @@ class FileProgressInfo
|
|||
uint32_t nb_chunks ;
|
||||
|
||||
std::vector<uint32_t> chunks_in_progress ;
|
||||
std::vector<uint32_t> chunks_in_checking ;
|
||||
|
||||
bool operator<(const FileProgressInfo &other) const;
|
||||
bool operator>(const FileProgressInfo &other) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue