aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseStorage.cpp
AgeCommit message (Collapse)Author
2020-08-18Store database storage to files, also loadingdec05eba
2020-08-18Expose include dirdec05eba
2020-08-18Use result of set::insert to determinate if data already existsdec05eba
Instead of using .find (::insert uses find)
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-18Add encryption functions (xchacha20)dec05eba
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?
2020-08-18Add database storage (in memory), need to store it on disk laterdec05eba