Asias He
89b79d44de
streaming: Get rid of the _connecting_ parameter
...
messaging_service will use private ip address automatically to connect a
peer node if possible. There is no need for the upper level like
streaming to worry about it. Drop it simplifies things a bit.
2015-12-31 11:25:08 +01:00
Asias He
0af7fb5509
range_streamer: Kill FIXME in use_strict_consistency for consistent_rangemovement
2015-11-30 09:15:42 +08:00
Asias He
f80e3d7859
range_streamer: Simplify multiple_map to map conversion in add_ranges
2015-11-30 09:15:42 +08:00
Asias He
21882f5122
range_streamer: Kill one leftover comment
2015-11-30 09:15:42 +08:00
Asias He
6b258f1247
range_streamer: Kill FIXME for is_replacing
2015-11-30 09:15:42 +08:00
Asias He
87292d6a16
range_streamer: Simplify unordered_multimap_to_unordered_map
...
operator[] is own friend, it creates map[x] if x is not in the map.
2015-11-09 08:43:04 +08:00
Asias He
a54989cd65
range_streamer: Fix get_all_ranges_with_strict_sources_for
...
std::set_difference requires the container to be sorted which is not
true here, use remove_if.
Do not use assert, use throw instead so that we can recover from this
error.
2015-11-09 08:43:04 +08:00
Asias He
d166b0f3fa
range_streamer: Add get_work_map
2015-11-09 08:43:04 +08:00
Asias He
1bbc1920d2
range_streamer: Start to use get_preferred_ip
...
It is available now.
2015-10-27 21:48:37 +08:00
Asias He
dc02d76aee
range_streamer: Implement fetch_async
...
It is used by boot_strapper::bootstrap() in bootstrap process to start
the streaming.
2015-10-13 15:45:56 +08:00
Asias He
887c0a36ec
range_streamer: Implement add_ranges
...
It is used by boot_strapper::bootstrap() in bootstrap process.
2015-10-13 15:45:56 +08:00
Asias He
1c1f9bed09
range_streamer: Implement use_strict_sources_for_ranges
2015-10-13 15:45:55 +08:00
Asias He
d47ea88aa8
range_streamer: Implement get_all_ranges_with_strict_sources_for
2015-10-13 15:45:55 +08:00
Asias He
84de936e43
range_streamer: Implement get_all_ranges_with_sources_for
2015-10-13 15:45:55 +08:00
Asias He
944e28cd6c
range_streamer: Implement get_range_fetch_map
2015-10-13 15:45:55 +08:00
Asias He
c8b9a6fa06
dht: Convert RangeStreamer to C++
2015-10-13 15:45:55 +08:00