Commit Graph

8299 Commits

Author SHA1 Message Date
Arvid Norberg 6bf1971452 Merge pull request #162 from thomas-yuan/bootstrap
Only re-bootstrap when there is no enough nodes in routing table.
2015-09-20 14:52:16 -04:00
Arvid Norberg 92d05d1085 Merge pull request #171 from arvidn/msvc-14-fix
msvc-14 fix
2015-09-20 14:34:30 -04:00
arvidn bd9f371517 avoid cmd.exe escaping issues by including the appveyor user-config.jam file in the repo 2015-09-20 13:54:50 -04:00
Arvid Norberg 5563be7e16 Merge pull request #168 from arvidn/msvc-14-fix
add ucrt include path to msvc-14
2015-09-20 13:43:00 -04:00
arvidn b3a9949b89 add ucrt include path to msvc-14 2015-09-20 13:37:23 -04:00
arvidn 372385bcb8 expose more of torrent_status in python binding 2015-09-19 14:39:36 -04:00
arvidn cf15453388 forward port auto-manage fix from RC_1_0 2015-09-19 02:10:50 -04:00
arvidn 2715ae475c expose whether torrents are announcing to trackers, lsd and dht. these can be disabled by the queuing logic 2015-09-19 01:54:47 -04:00
Arvid Norberg 0f241a0816 Merge pull request #165 from arvidn/header-cleanup
separate out announce_entry and torrent_status into their own headers
2015-09-18 19:22:13 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
Arvid Norberg c54f8445bd Merge pull request #164 from thomas-yuan/alert_message
Fix dht_put_alert::message() for immutable items.
2015-09-17 18:25:17 -04:00
Thomas Yuan 20708fa5b6 Only re-bootstrap when there is no enough nodes in routing table. 2015-09-17 11:22:23 -04:00
Arvid Norberg d3d15297f5 Merge pull request #149 from arvidn/tracker_simulation
add simulation of tracker announces
2015-09-16 23:04:50 -04:00
arvidn c9a0212ee0 add simulation of tracker announces 2015-09-16 20:49:10 -04:00
Arvid Norberg 1fd35c01ad Merge pull request #123 from aldenml/dht-storage
Implementing dht storage interface.
2015-09-16 20:27:34 -04:00
arvidn c97bf4a0f4 travis script polishing 2015-09-16 20:26:13 -04:00
Thomas Yuan 1fac816d37 Fix dht_put_alert::message() for immutable items. 2015-09-16 15:21:05 -04:00
Alden Torres e2d682275a Implementing and using new dht storage interface 2015-09-16 08:30:27 -04:00
Arvid Norberg 4b27ad80b8 Merge pull request #159 from arvidn/msvc-14-fix
attempt to fix msvc-14 build on appveyor
2015-09-15 08:08:51 -04:00
arvidn 28ffc6969a revert appveyor build image 2015-09-15 08:08:00 -04:00
arvidn 5e3d0dcbb9 update libsimulator submodule 2015-09-12 13:45:35 -04:00
arvidn 81399fb14e remove parse_hash_fails from tools directory 2015-09-12 09:59:37 -04:00
Arvid Norberg d00e47954e Merge pull request #156 from arvidn/simplify-appveyor
remove one appveyor build configuration and simplify the script a bit
2015-09-12 09:22:05 -04:00
arvidn bdb2801c10 fix typos in appveyor.yml. attempt to cut down build times 2015-09-11 23:13:27 -04:00
arvidn e2f4cc131d remove one appveyor build configuration and simplify the script a bit 2015-09-11 22:05:58 -04:00
Arvid Norberg dc91e7f507 Merge pull request #154 from thomas-yuan/counter
Fix dht counters.
2015-09-11 21:45:39 -04:00
Thomas Yuan c0d20d7708 Fix dht counters. 2015-09-11 13:58:33 -04:00
Arvid Norberg 4fd56fd220 Merge pull request #145 from arvidn/super-seeding-fix2
fix super seeding assert (forward port from RC_1_0)
2015-09-10 20:13:14 -04:00
Arvid Norberg f847104252 Merge pull request #153 from thomas-yuan/bug_fix
Fix routing_table bucket_size(int bucket) out_of_range logic error.
2015-09-10 19:53:21 -04:00
Thomas Yuan bee620b4f1 Fix routing_table bucket_size(int bucket) out_of_range logic error. 2015-09-10 17:19:00 -04:00
Arvid Norberg 8b6b8240c1 Merge pull request #144 from thomas-yuan/master
load_state should restart dht/proxy if there is dht state/proxy.
2015-09-10 00:13:07 -04:00
Arvid Norberg 4b36900e8b Merge pull request #148 from thomas-yuan/invalid_node_id_test
Add unit test for invalid node-id. (shouldn't be added to routing table)
2015-09-10 00:12:13 -04:00
Arvid Norberg 7114648f33 Merge pull request #146 from arvidn/convert-from-native
correctly convert error messages from native to utf8
2015-09-10 00:09:37 -04:00
arvidn edc26cf90d update libsimulator 2015-09-10 00:08:39 -04:00
arvidn 9f4cfb6ac3 split up test_tracker unit tests 2015-09-09 23:54:43 -04:00
Thomas Yuan cfee70b350 unit test: a node with invalid node-id shouldn't be added to routing table. 2015-09-09 15:36:07 -04:00
Thomas Yuan a06a8fe19e load_state should restart dht/proxy if there is dht state/proxy. 2015-09-08 21:34:49 -04:00
Arvid Norberg abe994c191 Merge pull request #128 from thomas-yuan/patch2
Add read-only support in dht_settings and outgoing query messages.
2015-09-08 19:47:18 -04:00
arvidn a10438addd correctly convert error messages from native to utf8 2015-09-08 19:27:15 -04:00
arvidn c0a4f7ba26 fix super seeding assert (forward port from RC_1_0) 2015-09-08 18:17:13 -04:00
Thomas Yuan 60cedf881f Add block_timeout, block_ratelimit and read_only of dht_settings to python binding. 2015-09-08 11:03:27 -04:00
Thomas Yuan 4d6de4bcd8 save/load all dht_settings. 2015-09-08 11:03:27 -04:00
Thomas Yuan 94a2c3131f Add unit test for DHT read_only nodes. 2015-09-08 11:03:27 -04:00
Thomas Yuan d6bb387ab9 Use dht_settings directly instead of add a read_only member variable.
Since rpc_manager has a reference of dht_settings, needn't pass it
as a parameter for incoming().
2015-09-08 10:35:30 -04:00
Arvid Norberg b849222709 Merge pull request #142 from arvidn/move-headers
move some internal headers to aux_ to fix documentation
2015-09-07 22:45:42 -04:00
arvidn 26c70636f5 extend pull request checklist 2015-09-07 20:18:23 -04:00
arvidn 822d4c173b update README 2015-09-07 17:20:19 -04:00
arvidn ee3cb6cf86 move some internal headers to aux_ to fix documentation 2015-09-07 17:00:27 -04:00
Thomas Yuan 3d4ed9f37f Add read-only support in dht_settings and outgoing query messages. 2015-09-07 14:24:46 -04:00
Arvid Norberg 5c614be0ce Merge pull request #140 from arvidn/appveyor-fix
attempt to diagnose appveyor build error
2015-09-07 02:35:36 -04:00