Commit Graph

23 Commits

Author SHA1 Message Date
arvidn ed10d6c606 Merge branch 'RC_2_0' 2024-11-01 15:54:03 +01:00
arvidn 7f691246aa update piece picker. rename 'have' -> 'flushed' and 'passed' -> 'have' to make it clearer that a piece that has passed the hash check, we 'have', and is available to be picked by peers. This addresses an issue where we would wait for pieces to be written to disk before advertizing it to peers 2024-11-01 15:34:03 +01:00
arvidn 964ffc57ba merge RC_2_0 into master 2022-06-23 08:07:28 +02:00
arvidn 550d3c7d9f update copyright headers 2022-06-22 21:42:55 +02:00
arvidn 2db8b54c08 update copyright headers in source files 2021-06-13 21:04:55 +02:00
arvidn ed2bcdd04d merged RC_2_0 into master 2021-06-13 11:32:34 +02:00
arvidn 7bc69bdb96 improve piece-picker pad-file granularity to bytes (from blocks) 2021-06-13 11:14:37 +02:00
arvidn e1b084dc11 improve precision of total_wanted and total_wanted_done 2021-06-13 11:14:37 +02:00
arvidn 0d3f80bedd update copyright and license headers (of a few new files merged from RC_2_0) 2021-03-29 19:35:45 +02:00
Alden Torres 9977978aee moved piece_picker.hpp to aux 2021-01-10 00:24:31 +01:00
arvidn 19e8c2f3ea remove full BSD license from all source files. reference LICENSE file in the root instead 2020-09-02 00:56:54 -07:00
arvidn d3f7a363c2 update copyright year 2019-08-29 00:13:04 +02:00
arvidn 17c293d592 factor out calculation of number of pieces for a file_storage into its own function 2019-08-10 09:28:38 -07:00
Alden Torres 88d018bb67 simple test for file_progress::update 2019-01-13 02:40:15 +01:00
arvidn 5530793c75 improve the API for iterating over all files and pieces, with the new strong index types. 2018-06-12 11:44:29 +02:00
Alden Torres 6d5b90968b fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
arvidn 50bef25786 make the piece-picker less two-phase initialized 2017-10-26 23:39:15 +02:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
Arvid Norberg 3f1084d63d strengthened type safety in handling of piece and file indices (#1409)
strengthened type safety in handling of piece and file indices
2016-12-22 10:42:33 -05:00
Arvid Norberg ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Andrei Kurushin c41ab094be fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627)
fix release build with VS2015 UP2 compiler warnings for: examples, test, tools
2016-04-20 00:45:32 -04:00
arvidn ffa870d280 fixed some GCC warnings 2015-08-20 01:33:20 +02:00
arvidn e2784df13c factor out file progress tracking from the torrent class 2015-06-28 22:47:11 -04:00