aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-05-14Replace files with sqlitedec05eba
Using sqlite because sqlite has transactions, storing/loading from files automatically, unloading data that is not accessed often. Removed cosmetic data (node name, username). They can be added using addData by the application that uses odhtdb instead. Database callback functions can now be called with stored data using database.loadNode function. TODO: Add local user storage (with password) back, it has been temorary disabled
2018-05-11Remove commit, maybe readd it laterdec05eba
2018-05-08Add comparison function to public keydec05eba
2018-05-08Add more comparison functions to hashdec05eba
2018-05-03Temporary remove timestamp checkdec05eba
2018-05-01Update ntp dependency with bug fix, make error messages betterdec05eba
2018-05-01Update storage versiondec05eba
2018-05-01Remove unnecessary dependency 'fmt'dec05eba
2018-04-30Include fraction in timestamp. Timestamp is now in microsecondsdec05eba
2018-04-29Fail if ntp failsdec05eba
2018-04-29Make ntp sync more robust with retriesdec05eba
2018-04-28blalbadec05eba
2018-04-28Add stop seeding functiondec05eba
2018-04-28Add decryption (and caching) of data, even when adding encryption key after ↵dec05eba
data has been added
2018-04-27Change local storage to fit dchat betterdec05eba
2018-04-27Add local user storage function (locally stored encrypted user private key)dec05eba
2018-04-25Improve database startup by moving timestamp sync to where it's neededdec05eba
2018-04-25Store opendht identity in storage file (cached)dec05eba
2018-04-14Store database storage to files, also loadingAleksi Lindeman
2018-03-17Add callback functions for operationsAleksi Lindeman
2018-03-13Fix PrivateKey/PublicKey ::toStringAleksi Lindeman
2018-03-13Expose include dirAleksi Lindeman
2018-03-13Use result of set::insert to determinate if data already existsAleksi Lindeman
Instead of using .find (::insert uses find)
2018-03-13Fix add data operation not working correctlyAleksi Lindeman
Reminder: do not get reference to hash map value... duh Add thread-safe logging (log is in order now!). Store data immediately to database when WE add it instead of waiting for response from remote peers. TODO: Test with multiple peers (not only localhost)
2018-03-11Add operation to allow users to be added to groupAleksi Lindeman
WARNING! Lazy implementation everywhere, does not handle out-of-order packets
2018-03-09Partially implement 'add' operationAleksi Lindeman
2018-03-05Implement 'create' operation, add seedingAleksi Lindeman
Seeding is currently only done on the key you specify, in the future the user should request data that it can seed.
2018-03-05Add encryption functions (xchacha20)Aleksi Lindeman
Changed license to GPL 3.0 because of incompatible license with opendht. Should odhtdb stay GPL 3.0 or should opendht be replaced with libdht so license can be changed back to MIT?
2018-02-14Sign messages/verify message signaturesAleksi Lindeman
2018-02-13Add database storage (in memory), need to store it on disk laterAleksi Lindeman
2018-02-10Fix put not working because used time discards message before receivedAleksi Lindeman
2018-02-10Add private/public key for usersAleksi Lindeman
2018-02-03Add seed function, not yet finishedAleksi Lindeman
2018-02-01Sync time with ntp server, starting with basic operationsAleksi Lindeman
2018-01-28Add some files...Aleksi Lindeman