Andrew Resch
bcef173270
Add unittest for post_session_stats()
2016-01-13 17:35:54 -08:00
Andrew Resch
2e90ea7493
Add session_stats_alert to python bindings
2016-01-13 17:30:51 -08:00
arvidn
c8f119c1a1
fix typo
2016-01-13 01:07:27 -05:00
Arvid Norberg
2de8efdb5b
Merge pull request #379 from arvidn/session_stats-fix
...
session_stats
2016-01-13 01:01:22 -05:00
arvidn
4a28e95ce0
fix missing error handling in windows preadv/pwritev emulation
2016-01-13 00:49:17 -05:00
arvidn
13f03ce38a
print the actual stats in session_stats_alert::message() and make parse_session_stats.py parse the alert output. add stats_metric objects for all performance counters
2016-01-12 23:34:37 -05:00
Arvid Norberg
5ca75a0f0f
Merge pull request #384 from ssiloti/store-all-items
...
ensure all immutable items are stored at least once
2016-01-12 23:33:23 -05:00
Steven Siloti
ab7ef98b01
ensure all immutable items are stored at least once
...
If num_peers is set to 1 then the item will never be stored. Bump the
minimum value to 2 so that announce_immutable_items stores all items
at least once.
2016-01-12 19:32:02 -08:00
Arvid Norberg
ceed5329f4
Merge pull request #371 from arvidn/dht-set-nodeid
...
improve DHT bootstrap performance
2016-01-12 18:45:56 -05:00
Andrew Resch
6552138ae5
Add session.post_session_stats() to python bindings
2016-01-11 22:52:10 -08:00
arvidn
651b473908
add unit test for routing_table::update_node_id
2016-01-11 23:47:27 -05:00
arvidn
f4d643bd2d
instead of restarting the whole DHT when changing external IP, just rebuild the routing table and change the node IDs
2016-01-11 21:17:25 -05:00
Arvid Norberg
3078671177
Merge pull request #381 from aldenml/removed-unused-fields-file
...
Removed unused fields in field class
2016-01-11 12:23:48 -05:00
Alden Torres
20d8f4e3f7
Removed unused fields in field class
2016-01-11 12:07:36 -05:00
Arvid Norberg
c7e19ce667
Merge pull request #378 from aresch/py3
...
Fix python 3 compatibility
2016-01-11 08:24:06 -05:00
Andrew Resch
fc72c41556
Fix error with no converter for boost::shared_ptr<libtorrent::alert>
2016-01-10 19:57:20 -08:00
Andrew Resch
a0770a087a
Fix python 3 compatibility
2016-01-10 19:53:54 -08:00
Arvid Norberg
7f98aef392
Merge pull request #377 from ssiloti/dont-share-rx-buf
...
DHT nodes can NOT share a receive buffer
2016-01-10 22:42:31 -05:00
Steven Siloti
7b5bdc3be9
DHT nodes can NOT share a receive buffer
...
While the simulation is single threaded, because async_receive_from_impl uses
post() to invoke the receive handler it is possible for multiple receive
handlers to be queued up in the io_service at the same time. If this happens
with a shared receive buffer the last packet received will overwrite all the
other packets before they are handled.
The use of post() is necessary to avoid unbounded recursion in the read handler
so each node must get its own buffer.
2016-01-10 18:30:16 -08:00
Arvid Norberg
4e86c2257a
Merge pull request #376 from arvidn/discardable-alerts
...
remove the concept of non-discardable alerts
2016-01-10 19:59:05 -05:00
Arvid Norberg
d384410ea7
Merge pull request #375 from arvidn/storage-fix
...
fix minor storage issues
2016-01-10 16:47:19 -05:00
arvidn
c16e49ec43
remove the concept of non-discardable alerts
2016-01-10 16:12:16 -05:00
Arvid Norberg
1709f4a5bf
Merge pull request #374 from jberkel/master
...
Update comment
2016-01-10 11:54:25 -05:00
arvidn
4cc2e879c4
comment out verbose pex logging. fix bug in disabled_storage and an error reporting issue on short reads in default_storage
2016-01-10 11:50:56 -05:00
Jan Berkel
7c7ad60df6
Update comment
2016-01-10 15:09:28 +00:00
Arvid Norberg
fcccd026be
Merge pull request #372 from aldenml/dht-node-seen-ipv4
...
Avoid pass nodes with IPv6 address to current DHT
2016-01-09 23:38:43 -05:00
Alden Torres
0f442f59f3
Avoid pass IPv6 address to current implementation of DHT while adding a node
2016-01-09 18:46:19 -05:00
Arvid Norberg
641b6e51f8
Merge pull request #356 from arvidn/dht-simulator
...
overhaul the dht simulator
2016-01-09 11:24:11 -05:00
arvidn
e06daa68a4
overhaul the dht simulator (setup_dht) to be more flexible and cheaper to run thousands of nodes
2016-01-09 01:08:52 -05:00
Arvid Norberg
3efe85849e
Merge pull request #368 from arvidn/python-datetime
...
use datetime type for time_duration in python binding
2016-01-07 23:28:40 -05:00
arvidn
ed09a6a01d
use datetime type for time_duration in python binding
2016-01-07 17:47:53 -05:00
Arvid Norberg
18980e65a9
Merge pull request #365 from arvidn/python-fix
...
extend python binding unit test and fix bugs in it
2016-01-06 08:15:09 -05:00
arvidn
f44fb4c660
extend python binding unit test and fix bugs in it
2016-01-06 00:17:51 -05:00
Arvid Norberg
c36d1d1051
Merge pull request #364 from aldenml/doc-typos
...
More documentation typos
2016-01-05 22:40:52 -05:00
Alden Torres
7b34379c87
Doc typos
2016-01-05 08:31:04 -05:00
Arvid Norberg
c56cf82d50
Merge pull request #359 from arvidn/forward-port
...
forward port fixes from RC_1_0
2016-01-05 08:16:05 -05:00
arvidn
49b24d4cd0
fix python bindings
2016-01-05 01:32:04 -05:00
Arvid Norberg
b750f0bae5
Merge pull request #361 from lucab/lucab/autotools-check
...
Fixes to run `make check`
2016-01-05 01:29:49 -05:00
Luca Bruno
15ef71303a
autotools: fix `make check` running
...
Signed-off-by: Luca Bruno <lucab@debian.org>
2016-01-04 14:28:05 +01:00
Luca Bruno
6feab20733
test: fix enum_if compilation
...
Signed-off-by: Luca Bruno <lucab@debian.org>
2016-01-04 14:27:39 +01:00
Luca Bruno
73c950b99b
test: fix test_lsd compilation
...
Signed-off-by: Luca Bruno <lucab@debian.org>
2016-01-04 14:25:49 +01:00
Arvid Norberg
85a510d8d8
Merge pull request #357 from arvidn/disable-disk-full-test
...
disable disk-full test, because it's flaky
2016-01-04 00:36:53 -05:00
arvidn
a0678240f3
forward port fixes from RC_1_0
2016-01-03 23:34:57 -05:00
arvidn
66c14e968b
disable disk-full test, because it's flaky
2016-01-03 13:30:32 -05:00
Arvid Norberg
7282195ef0
Merge pull request #355 from arvidn/dht-add-node
...
simplify dht routing table add
2016-01-03 09:54:30 -05:00
Arvid Norberg
6965888fa8
Merge pull request #353 from aldenml/save-max_peers
...
Store dht_settings::max_peers in session state
2016-01-02 23:00:30 -05:00
arvidn
d9278c3da4
merge RC_1_0 fix for python binding
2016-01-02 22:56:19 -05:00
arvidn
d954ae1b18
simplify dht routing table add
2016-01-02 20:03:18 -05:00
Alden Torres
b9a5525ab2
Store dht_settings::max_peers in session state
2016-01-02 11:49:07 -05:00
Alden Torres
b20096f0db
Comments typos
2016-01-02 11:46:10 -05:00