Adrien Béraud
564e97fce7
dht: use 4 listen nodes
2016-05-24 03:44:18 -04:00
Adrien Béraud
172b1089fb
dht: search log improvements
2016-05-24 03:44:18 -04:00
Adrien Béraud
6cdc242b6e
node: add pendingMesageCount
2016-05-24 03:44:18 -04:00
Adrien Béraud
ac23464044
network engine: retransmit 'done' param
2016-05-24 03:44:18 -04:00
Adrien Béraud
ce162a39c6
network engine: add logs
2016-05-22 17:00:16 -04:00
Adrien Béraud
db376aa0a2
scheduler: simplify design
2016-05-22 16:56:47 -04:00
Adrien Béraud
8da15ad450
dht: adapt search routine to network engine
2016-05-22 16:56:47 -04:00
Adrien Béraud
5f1b79e6de
dht: minor refactoring/optimisations
2016-05-22 16:56:47 -04:00
Adrien Béraud
0e7dda680a
header cleanup
2016-05-22 16:56:47 -04:00
Adrien Béraud
22958342f1
headers: move inclusion of networking APIs to Infohash
2016-05-20 12:12:44 -04:00
Adrien Béraud
e9094f8f22
README: fix python example
2016-05-19 18:10:17 -04:00
Adrien Béraud
ff2193dcc6
network_engine: add log on node expire
2016-05-19 17:37:39 -04:00
Adrien Béraud
855b69710d
dht: run searchStep imediatly on announce
2016-05-19 17:37:39 -04:00
Adrien Béraud
d93657d6f9
dht: wait for both AF to call callback
2016-05-19 17:37:39 -04:00
Adrien Béraud
2b57c8109a
dht: clear announces on expire
2016-05-19 17:29:19 -04:00
Adrien Béraud
84578f7820
value: reduce size limit to 14KB
2016-05-19 17:28:31 -04:00
Adrien Béraud
14cf0b3142
python: add size proprety
2016-05-19 17:28:31 -04:00
Adrien Béraud
18ec3086ee
python: add blocking put
2016-05-19 17:28:31 -04:00
Adrien Béraud
f7e01da20d
expire node on blacklist
2016-05-19 17:28:31 -04:00
Adrien Béraud
a032f50a27
dht: catch all network engine errors
2016-05-19 17:28:31 -04:00
Adrien Béraud
8ee0d83ad7
dht: log cleanup
2016-05-19 17:28:31 -04:00
Adrien Béraud
f46043069d
revert: dht: limit search nodes to SEARCH_NODES nodes
2016-05-19 01:55:18 -04:00
Adrien Béraud
16290961fb
network engine: add sent data size
2016-05-19 01:55:06 -04:00
Adrien Béraud
bad53219c6
move back to C++11
2016-05-18 04:02:34 -04:00
Adrien Béraud
fc6e884b54
python: adapt to new owner api
2016-05-18 03:29:01 -04:00
Adrien Béraud
9d7f6d287a
dht: clear candidate on expire
2016-05-18 02:19:06 -04:00
Adrien Béraud
17d57ba04a
dht: remove anoying log
2016-05-18 01:23:47 -04:00
Adrien Béraud
9ad21d5c5d
dht: remove newSearch()
2016-05-18 01:23:18 -04:00
Adrien Béraud
891969f5eb
node: reduce max response time to 1s
2016-05-17 20:39:16 -04:00
Adrien Béraud
e68a2fd967
securedht: add public key cache
2016-05-17 20:39:16 -04:00
Adrien Béraud
cc18afd818
value: make 'owner' a shared_ptr
2016-05-17 20:39:16 -04:00
Adrien Béraud
467fdef892
Update README.md
2016-05-16 16:03:58 -04:00
Adrien Béraud
50678f6d44
Accept bitcoin donations
2016-05-16 15:41:20 -04:00
Adrien Béraud
4622a82847
benchmark/get: improve ploting
2016-05-15 01:38:33 -04:00
Adrien Béraud
bd72c6468f
network engine: handle unexpected node id
2016-05-15 01:36:25 -04:00
Adrien Béraud
db6c301084
dht: don't count bad nodes in get request count
2016-05-15 01:28:09 -04:00
Adrien Béraud
faf5c3786f
bump version to 0.6.0
0.6.0
2016-05-14 23:21:04 -04:00
Adrien Béraud
9b14fc8bb8
dht: use method to count requests
2016-05-14 23:16:23 -04:00
Adrien Béraud
79dde3378a
dht: increase max searches
2016-05-14 23:16:23 -04:00
Adrien Béraud
f6b9340313
dht: avoid to discard storage with local listener
2016-05-14 23:16:23 -04:00
Adrien Béraud
8c8e781788
cmake: add LTO support with -DOPENDHT_LTO=On
2016-05-14 23:16:23 -04:00
Adrien Béraud
e03573e520
scanner: don't generate key pair
2016-05-14 23:16:23 -04:00
Adrien Béraud
79d90e480d
dht: limit search nodes to SEARCH_NODES nodes
2016-05-14 15:48:34 -04:00
Adrien Béraud
a926e273af
dht: forward-declare more internal structures
2016-05-14 15:48:34 -04:00
Adrien Béraud
f1b3e41e63
securedht: override all versions of Dht::get
2016-05-14 15:48:34 -04:00
Adrien Béraud
e37307654f
make sure securedht methods override dht's
2016-05-13 16:38:23 -04:00
Adrien Béraud
d3b9c4b7b6
network engine: improve node packing
2016-05-13 16:38:23 -04:00
Adrien Béraud
d26a34f409
node_cache: use std::map
2016-05-13 16:38:23 -04:00
Adrien Béraud
6652f27aae
travis: bump to GCC6
2016-05-13 16:38:23 -04:00
Guillaume Roguez
c5da946e76
crypto: mark all operator bool as explicit
...
If operator bool is not marked as explicit and you try to do such:
a == b
where a and b are instances of class with overloaded bool operator,
the behavior is not the waited one: a and b are casted to bool
BEFORE the comparaison! This could lead into non waited situation.
This patch fixes all operator bool() where overloaded.
This also implements PublicKey operators == and != as needed in value.h.
This last showed a typical case explained upper.
Signed-off-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com >
2016-05-10 15:26:15 -04:00