aboutsummaryrefslogtreecommitdiff
path: root/src/Database.cpp
AgeCommit message (Collapse)Author
2020-08-18Update ntp dependency with bug fix, make error messages betterdec05eba
2020-08-18Remove unnecessary dependency 'fmt'dec05eba
2020-08-18Include fraction in timestamp. Timestamp is now in microsecondsdec05eba
2020-08-18Fail if ntp failsdec05eba
2020-08-18Make ntp sync more robust with retriesdec05eba
2020-08-18blalbadec05eba
2020-08-18Add stop seeding functiondec05eba
2020-08-18Add decryption (and caching) of data, even when adding encryption key after ↵dec05eba
data has been added
2020-08-18Change local storage to fit dchat betterdec05eba
2020-08-18Add local user storage function (locally stored encrypted user private key)dec05eba
2020-08-18Improve database startup by moving timestamp sync to where it's neededdec05eba
2020-08-18Store opendht identity in storage file (cached)dec05eba
2020-08-18Store database storage to files, also loadingdec05eba
2020-08-18Add callback functions for operationsdec05eba
2020-08-18Expose include dirdec05eba
2020-08-18Fix add data operation not working correctlydec05eba
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)
2020-08-18Add operation to allow users to be added to groupdec05eba
WARNING! Lazy implementation everywhere, does not handle out-of-order packets
2020-08-18Partially implement 'add' operationdec05eba
2020-08-18Implement 'create' operation, add seedingdec05eba
Seeding is currently only done on the key you specify, in the future the user should request data that it can seed.
2020-08-18Sign messages/verify message signaturesdec05eba
2020-08-18Add database storage (in memory), need to store it on disk laterdec05eba
2020-08-18Fix put not working because used time discards message before receiveddec05eba
2020-08-18Add private/public key for usersdec05eba
2020-08-18Add seed function, not yet finisheddec05eba
2020-08-18Sync time with ntp server, starting with basic operationsdec05eba
2020-08-18Add some files...dec05eba