Commit Graph
29 Commits
Author SHA1 Message Date
Adrien Beraud 70ccbe4e40 value: remove FieldSelectorDescription
FieldSelectorDescription is just Value::Field and
adds nothing on top of it.

Remove it in favor of Value::Field.
2017-04-03 19:10:01 +02:00
Simon Désaulniers b03a8b5b50 update license notice (2017) 2017-01-13 17:27:29 -05:00
Adrien Béraud 65c915fd9d value: print hex value data contiguously 2016-11-23 11:01:14 -05:00
Adrien Béraud 659d893dee network: transmit large values in multiple packets 2016-10-09 16:22:33 -04:00
Simon Désaulniers ca6aa6706d dht/value: make 'find_node' queries satisfied by any queries
'find_node' requests don't ask for values. Then, the idea of a Query makes less
sense, but since we still need those to map status to network engine requests,
we introduce dummy queries which with the field Query::none. Those queries will
then only serve as key to network engine's requests.
2016-09-23 19:27:58 -04:00
Simon Désaulniers 8f2cc937c5 dht: introduce light put
The 'put' operation will now first check if nodes already store the value we
have to announce. If so, we don't announce it to that node.
2016-09-08 12:24:35 -04:00
Adrien Béraud 690682408b build with -pedantic-errors, fix pedantic build errors 2016-08-16 10:26:44 -04:00
Simon Désaulniers 07e4435a07 value: add Query relevant structures 2016-07-10 19:26:04 +02:00
Adrien Béraud 33f29e95f4 value: add common crypto ops 2016-06-15 13:35:44 -04:00
Adrien Béraud cc18afd818 value: make 'owner' a shared_ptr 2016-05-17 20:39:16 -04: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 e00c8e9598 update copyright headers for 2016 2016-01-07 18:02:35 -05:00
Adrien Béraud d1c4d2446e add Simon Désaulniers to author lists 2015-11-13 16:45:43 -05:00
Adrien Béraud f94de5ac2b values: apply a maximum value size 2015-11-08 16:06:30 -05:00
Adrien Béraud 7e346cfcb8 update license terms
* removed OpenSSL exception
  (OpenDHT doesn't make use of OpenSSL)
* properly capitalize "Savoir-faire Linux"
2015-11-08 16:06:30 -05:00
Adrien Béraud 430daf5986 add utils module for common definitions/utilities 2015-11-08 16:06:30 -05:00
Simon Désaulniers 4bee62741f data persistence for all data 2015-11-02 16:45:50 -05:00
Adrien Béraud 184dc17aa8 value: improve serialization backward compatibility 2015-10-24 01:40:59 -04:00
Adrien Béraud 40f7399d48 value: encypted value is not signed (until decrypted) 2015-08-23 17:36:24 +02:00
Adrien Béraud 790c32048c ValueSerializable: refactoring 2015-08-18 10:57:46 -04:00
Adrien Béraud 70dfb4bbcf use msgpack for dht protocol and value serialization 2015-08-13 11:28:29 -04:00
Adrien Béraud d2c57b867d update copyright headers 2015-07-10 23:25:43 -04:00
Adrien Béraud 9861175675 types: new ValueSerializable API, separate default types 2015-04-15 15:51:02 -04:00
Adrien Béraud 6399cb701b value: fix warning 2015-03-26 11:26:03 -04:00
Adrien Béraud 51a4c176aa DhtMessage : introduce Service and ServiceFilter 2015-02-23 13:54:49 -05:00
Adrien Béraud cb2d14e905 add DhtMessage type for node-to-node communication 2015-02-22 21:04:46 -05:00
Adrien Béraud 33542e932a use std::chrono for time tracking 2014-12-24 01:13:43 -05:00
Adrien Béraud b97e323f78 fix some encryption issues 2014-12-16 15:10:22 -05:00
Adrien Béraud 151d31411a Add initial code 2014-11-20 01:42:44 -05:00