Simon Désaulniers
30ba6baf39
benchmark: add minor logs in 'get', 'put' requests
2016-04-09 00:42:22 -04:00
Simon Désaulniers
2329239843
add delay between two successive refills
...
3 searchStep calls is what's needed to flag a node expired. So waiting at least
3 times SEARCH_GET_STEP time seems reasonable.
2016-04-08 23:12:09 -04:00
Simon Désaulniers
21667141ad
refill Search in unsynced state as much as needed
...
Search::refilled removed so that any number of refill may be done.
2016-04-08 23:11:02 -04:00
Simon Désaulniers
9e7babc707
changed Search::refill to progressive approach
...
In order to optimize the refill of a search with good SearchNode, the refill is
now done at each call of searchStep(). A "refill" will try to add more good
nodes to the search until the search has reached SEARCH_NODES good nodes.
2016-04-08 23:10:05 -04:00
Simon Désaulniers
e9bda23ae4
add Search::getNumberOfBadNodes() method
2016-04-08 23:10:05 -04:00
Simon Désaulniers
12f4139fcc
dht: removing good and expired nodes appropriately
...
When inserting a node and that the maximum of good nodes has been reached, a
good node must be removed. This is also a good time to remove an expired node
from the search if there is one.
2016-04-08 23:09:58 -04:00
Simon Désaulniers
0f5086fef5
benchmark: toggling bootstrap dht log USR1 signal
2016-04-08 18:36:41 -04:00
Simon Désaulniers
b7004f6051
benchmark: add option for getting bootstrap log
2016-04-08 18:36:41 -04:00
Simon Désaulniers
9868a79381
python: enabling dht log through cython API
2016-04-08 18:36:36 -04:00
Simon Désaulniers
4e54ac3ac3
dht: adding dht::log common utilities namespace
2016-04-08 18:36:02 -04:00
Adrien Béraud
53bea202a2
Merge pull request #46 from sim590/pip-uninstall
...
[autotools] pip to uninstall python files
2016-04-08 11:21:52 -04:00
Simon Désaulniers
daca16a917
disable removing from record file.
2016-04-06 15:26:05 -04:00
Simon Désaulniers
8a281c1d2c
fallback to setup.py generated install record
2016-04-06 15:10:57 -04:00
Adrien Béraud
3e4a739d9f
crypto: check key size in aesEncrypt
2016-04-05 16:00:51 -04:00
Adrien Béraud
fa0f123803
python: run callback in main thread
2016-04-02 20:55:45 -04:00
Adrien Béraud
7b1707299c
crypto: improve documentation
2016-03-24 21:32:05 -04:00
Adrien Béraud
05727a1515
Merge pull request #53 from sim590/benchmark-traffic-test
...
[Benchmark] traffic test
2016-03-23 13:51:40 -04:00
Simon Désaulniers
2289243bfc
benchmark: fix tests + new test: totallyNormalTest
...
The "Totally normal test" is meant to create a realistic environment, i.e.
with normal asynchronous packet activity. This is useful in order to
differentiate normal and data persistence traffic.
2016-03-13 18:46:23 -04:00
Simon Désaulniers
5b3b22edee
benchmark: refactor and enhance network.py IPC
2016-03-13 18:46:23 -04:00
Adrien Béraud
059e0a5fac
Merge pull request #50 from sim590/link-libraries
...
Specifying linking libraries in CMake
2016-03-04 12:46:20 -05:00
Simon Désaulniers
7a27dace9c
Specifying linking libraries in CMake
...
It appears that when cmake runs on some platforms, it can't figure out the
linking flags itself. This patch adds this.
2016-03-04 12:38:03 -05:00
Simon Désaulniers
7168022915
pip to uninstall python files
2016-02-29 12:58:23 -05:00
Adrien Béraud
a4a54af391
bump version to 0.5.2
0.5.2
2016-02-19 01:16:00 -05:00
Adrien Béraud
9f4ca6c8f3
crypto: avoid to copy iv during encryption
2016-02-19 01:16:00 -05:00
Adrien Béraud
c753977d5c
dhtrunner: reduce stack usage
2016-02-19 01:16:00 -05:00
Adrien Béraud
3e4b650aca
Update README.md
2016-02-19 00:58:45 -05:00
Adrien Béraud
b698687f99
crypto: add documentation
2016-02-18 22:24:33 -05:00
Adrien Béraud
92962f78f4
Update README.md
2016-02-16 22:07:18 -05:00
Simon Désaulniers
bfe41dbb45
Merge pull request #36 from kaldoran/log_print
...
Using standard library function for handling ascii out of range characters.
2016-02-15 12:39:58 -05:00
Adrien Béraud
712d8a011b
Merge pull request #35 from sim590/cmake_msgpack
...
Update FindMsgpack.cmake fixing "not found" error
2016-02-15 11:40:21 -05:00
Edric
9fbe11738d
Remove int/unsigned int comparison warning
2016-02-15 11:33:35 -05:00
Kaldoran
47e56f2397
Change ascii value to std::isprint() function
2016-02-15 11:28:44 -05:00
Simon Désaulniers
8c2cc749ab
Update FindMsgpack.cmake fixing "not found" error
...
This fix was written by people working on the neovim project:
https://github.com/neovim/neovim/commit/1d1574e0aca3cd270e7d4b2656e1aa11861d70af
2016-02-15 11:23:20 -05:00
Adrien Béraud
71b6998ea0
dht: step to clear announces in case of failure
2016-01-28 01:07:35 -05:00
Adrien Béraud
b640f34949
rng: fix typo
2016-01-28 01:07:35 -05:00
Adrien Béraud
1d4d67038a
dht: fix compilation on older clang
2016-01-22 15:35:45 -05:00
Adrien Béraud
d5dcfa0889
dht: introduce and enforce a maximum storage size
...
The default storage limit is 64 MB
2016-01-22 02:01:07 -05:00
Adrien Béraud
b304418d43
dht: ensure search response include a token
2016-01-22 01:47:19 -05:00
Adrien Béraud
3d499bff14
dht: reset flags when reanouncing
2016-01-22 01:45:51 -05:00
Adrien Béraud
d6d72597be
dht: check value size before forging packet
2016-01-19 15:24:05 -05:00
Adrien Béraud
3ee22bb6d7
dht: avoid building oversized UDP packets
2016-01-19 15:24:05 -05:00
Adrien Béraud
9ee962bd21
dht: cleanup storage log
2016-01-19 15:23:37 -05:00
Adrien Béraud
a44b809513
dht: get token with find_nodes, use it for announces
2016-01-19 15:23:37 -05:00
Adrien Béraud
b2ee07861d
reduce default storage time to 10 minutes
2016-01-19 15:23:37 -05:00
Adrien Béraud
388d43b89a
reduce maximum value size to 56 KB
...
A larger maximum size was supported by the protocol but
not the underlying transport (UDP).
2016-01-19 15:23:37 -05:00
Adrien Béraud
6b83077a33
Merge pull request #33 from sim590/benchmark-python-test-cleanup
...
Benchmark python test cleanup
2016-01-14 17:03:52 -05:00
Simon Désaulniers
4070a19c59
fixing missing import of modules
2016-01-14 16:56:24 -05:00
Simon Désaulniers
b6d7436595
benchmark: python decorator for setting up tests
2016-01-14 16:37:20 -05:00
Simon Désaulniers
5f9e20998f
python tests refactoring
2016-01-14 16:34:43 -05:00
Adrien Béraud
6910a7c0ae
Merge pull request #32 from sim590/benchmark-refactor
...
Benchmark refactor
2016-01-13 17:00:52 -05:00