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
Adrien Béraud
8d23dc75c5
move to C++14
2016-05-10 13:54:05 -04:00
Adrien Béraud
ed8cdfd81a
don't remove flying nodes from searches
2016-05-10 12:50:39 -04:00
Adrien Béraud
91bf5bb41b
allow to cancel request without network engine
2016-05-10 12:50:20 -04:00
Adrien Béraud
040e3770ad
node: use requests to determinate state
2016-05-09 16:17:59 -04:00
Adrien Béraud
3282ebad2e
autotools: add missing files
2016-05-09 16:17:59 -04:00
Adrien Béraud
ef1bf5ccec
move node cache to message engine
2016-05-08 00:37:52 -04:00
Adrien Béraud
8cc53b1751
add node cache, split dhtrunner.h from dht.h
2016-05-08 00:37:52 -04:00
Simon Désaulniers
98a3960bf8
fix wrong std::move in Value::Filter::chain
...
Also, instance calls to Value::Filter::chain methods were moving the calling
instance while you may not want this in many cases.
2016-05-05 16:29:59 -04:00
Adrien Béraud
92613f5fbf
net: improve request state consistency
2016-05-03 18:33:38 -04:00
Adrien Béraud
82970608d4
autotools: add missing files
2016-05-03 14:46:04 -04:00
Adrien Béraud
c215bf1d39
net: a pending request is a non-completed request
2016-05-03 13:56:05 -04:00
Adrien Béraud
add1179bc2
dht: remove constexpr to preserve backward compatibility
2016-05-03 13:55:18 -04:00
Adrien Béraud
733cf335d3
dht: limit concurrent search requests instead of steps intervals
2016-05-03 12:05:14 -04:00
Adrien Béraud
15f4ea4d88
node: add toString()
2016-05-03 11:09:28 -04:00
Adrien Béraud
92df1f5a2b
dht: recompute step time for existing searches
2016-05-02 18:42:14 -04:00
Simon Désaulniers
8cce5cd6e8
removed commented duplicate utility function
2016-05-02 15:25:15 -04:00
Adrien Béraud
820598c179
network engine: change sendError message argument to std::string
2016-05-02 15:25:15 -04:00
Adrien Béraud
a0a108512c
expire request when node is expired
2016-05-02 15:25:15 -04:00
Adrien Béraud
d062f7bd24
make sendPing use Node by default
...
previous code was duplicating nodes, causing
sending many "dubious node" pings to the same node.
2016-05-02 15:25:15 -04:00
Adrien Béraud
0890ed9c4f
move routing table to a different file
2016-05-02 15:25:15 -04:00
Adrien Béraud
f9e6662f7d
use Node in tellListener
2016-05-02 15:25:15 -04:00
Adrien Béraud
20662a9b4c
cancel request when receiving token error
2016-05-02 15:25:15 -04:00
Adrien Béraud
995196ce08
clear getStatus after token error
2016-05-02 15:25:15 -04:00
Adrien Béraud
3367043e92
NE fixes
2016-05-02 15:25:15 -04:00
Simon Désaulniers
badf9a3027
replaced tabs with spaces in multiple files.
2016-05-02 15:25:15 -04:00
Simon Désaulniers
f7a334a979
dht: make sure searchStep is called when needed.
2016-05-02 15:25:15 -04:00
Simon Désaulniers
08dc666839
dht: network engine does the node ping count
2016-05-02 15:25:15 -04:00
Simon Désaulniers
4a9ae1d42a
handling the reply_time in network engine
2016-05-02 15:25:15 -04:00
Simon Désaulniers
ce8af64775
removed unwanted check when receiving listen request
2016-05-02 15:25:15 -04:00
Simon Désaulniers
97fccc4458
dht: fix drop due to ratelimit bug
2016-05-02 15:25:15 -04:00