Commit Graph

8091 Commits

Author SHA1 Message Date
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
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
arvidn 113e84e7f6 fix appveyor build 2015-09-07 02:34:14 -04:00
Arvid Norberg e50cf087ab Merge pull request #124 from arvidn/travis-build
attempt to fix travis OSX build
2015-09-06 22:57:13 -04:00
arvidn 05c580572d disable simulation on travis osx. fix more warnings 2015-09-06 22:55:42 -04:00
arvidn a2ea8b32db fix more warnings 2015-09-06 22:55:41 -04:00
arvidn 7437171f9a disable test_ssl on travis osx 2015-09-06 22:55:41 -04:00
arvidn 68abd7a44d move out test_alert_manager from the main test (as it actually sleeps). also add some debug logging to it 2015-09-06 22:55:41 -04:00
arvidn 17c5759829 disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings 2015-09-06 22:55:41 -04:00
arvidn b45c585a78 use gcc on linux and clang on osx 2015-09-06 22:55:41 -04:00