Arvid Norberg
|
26236a7eb2
|
Merge branch 'RC_2_0' into RC_2_1
|
2026-06-04 09:45:35 +02:00 |
|
 Arvid NorbergandArvid Norberg
|
b0f2691351
|
mark hashes as have=true to avoid double-requests
|
2026-06-02 13:44:01 +02:00 |
|
Arvid Norberg
|
c070b9fc5d
|
Merge branch 'RC_2_0' into RC_2_1
|
2026-05-03 23:13:40 +02:00 |
|
 Arvid NorbergandArvid Norberg
|
5a06c6b9a8
|
tighten validation of v2 hash requests
|
2026-05-02 20:30:30 +02:00 |
|
arvidn
|
fe1ab09890
|
merged RC_2_0 into master
|
2023-04-17 21:40:10 +02:00 |
|
 arvidnandArvid Norberg
|
272828e1cc
|
fix peer_list to support incoming i2p connections
|
2023-04-17 10:42:06 +02:00 |
|
 arvidnandArvid Norberg
|
bf6c5e546b
|
optimize resume data format to use less space
|
2022-12-23 13:08:17 +01:00 |
|
arvidn
|
964ffc57ba
|
merge RC_2_0 into master
|
2022-06-23 08:07:28 +02:00 |
|
 arvidnandArvid Norberg
|
550d3c7d9f
|
update copyright headers
|
2022-06-22 21:42:55 +02:00 |
|
 arvidnandArvid Norberg
|
f484a0eff6
|
rerun update_copyright.py
|
2021-12-07 21:13:48 +01:00 |
|
arvidn
|
d8faaeef2c
|
merged RC_2_0 into master
|
2021-11-04 21:04:33 +01:00 |
|
 arvidnandArvid Norberg
|
a2ed296306
|
merkle unit tests
|
2021-10-26 12:48:00 +02:00 |
|
 arvidnandArvid Norberg
|
bc4c8d13e8
|
overhaul the merkle_tree class in order to allow it to have a consistent (and well defined) invariant. This involves merging add_hashes() and add_proofs(), also move the verified blocks bitfield from hash_picker into merkle_tree.
|
2021-10-26 12:48:00 +02:00 |
|
arvidn
|
6375df4539
|
merged RC_2_0 into master
|
2021-03-29 07:38:16 +02:00 |
|
 arvidnandArvid Norberg
|
9b957f6268
|
use user defined literal for piece_index_t in tests
|
2021-03-22 14:08:53 +01:00 |
|
 arvidnandArvid Norberg
|
de8e69a795
|
simplify tests by defining a user defined literal for file_index_t
|
2021-03-21 03:32:58 +01:00 |
|
 Arvid NorbergandArvid Norberg
|
31622459fd
|
update copyright
|
2020-11-14 20:25:15 +01:00 |
|
arvidn
|
041d7cbc58
|
merged RC_2_0 into master
|
2020-09-19 00:47:01 +02:00 |
|
 Arvid NorbergandArvid Norberg
|
5bdea2c995
|
split test_hash_picker to have merkle_tree tests in its own file
|
2020-09-11 17:22:13 -07:00 |
|
 arvidnandArvid Norberg
|
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
|
005fa0cc0f
|
merged RC_2_0 into master
|
2020-09-01 15:32:54 +02:00 |
|
 arvidnandArvid Norberg
|
5935f63ead
|
update copyrights
|
2020-09-01 05:14:17 -07:00 |
|
 Alden TorresandArvid Norberg
|
149b79836a
|
moved stat.hpp and stat_cache.hpp to aux
|
2020-08-25 05:41:55 -07:00 |
|
 Alden TorresandArvid Norberg
|
b0b68508e2
|
moved torrent_peer.hpp and torrent_peer_allocator.hpp to aux
|
2020-08-21 02:29:05 -07:00 |
|
arvidn
|
bb9d22785b
|
merged RC_2_0 into master
|
2020-08-16 17:25:37 +02:00 |
|
 arvidnandArvid Norberg
|
0f235540d8
|
fix torrent round-trip for v2 torrents in create_torrent
|
2020-08-12 00:18:47 -07:00 |
|
 Alden TorresandArvid Norberg
|
5a9dbb446b
|
moved hash_picker.hpp and http_parser.hpp to aux
|
2020-07-20 03:27:00 -07:00 |
|
 arvidnandArvid Norberg
|
ce2f233ea4
|
save sparse merkle-trees in resume data, by masking out unset hashes
|
2020-06-28 00:20:17 +02:00 |
|
 Steven SilotiandArvid Norberg
|
6806bc99f3
|
always request a power-of-two count of piece hashes
Retain the ability to process non-padded requests since the code is already
there in case we decide to relax the power-of-two restriction.
|
2020-05-26 14:45:22 +02:00 |
|
 arvidnandArvid Norberg
|
899668cdbc
|
add unit test for get_hashes. Fix issue when requesting pad hashes from leaf layer
|
2020-05-26 02:21:23 +02:00 |
|
 arvidnandArvid Norberg
|
69b98852c9
|
merkle_tree::add_hashes does not need to take blocks_per_piece
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
d15eee1d09
|
make merkle_tree sparse
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
f573fca924
|
add function to copy the valid parts of merkle tree
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
820e038cf2
|
factor out function to add a block hash (leaf hash) to a merkle tree into a member function of merkle_tree. This was the last operation that required to be able to mutate the tree, so mutating operator[] and fill and clear can now be made private
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
3ccc14a30d
|
factor out adding of new hashes to the file tree into the merkle_tree class
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
7dac65a696
|
raise abstraction level of merkle_tree
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
c7f81bd447
|
factor out file merkle trees
|
2020-05-24 21:02:10 +02:00 |
|
 arvidnandArvid Norberg
|
53dd998911
|
use validate_hash_request in hash_picker::add_hashes
|
2020-05-02 22:39:24 +02:00 |
|
 arvidnandArvid Norberg
|
d3f7a363c2
|
update copyright year
|
2019-08-29 00:13:04 +02:00 |
|
 Steven SilotiandArvid Norberg
|
920635b772
|
add hash picker and hash request messages
|
2019-08-10 09:28:38 -07:00 |
|