aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseStorage.cpp
AgeCommit message (Collapse)Author
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-13Add database storage (in memory), need to store it on disk laterAleksi Lindeman