Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
additional data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data has been added
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instead of using .find (::insert uses find)
|
|
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)
|
|
WARNING! Lazy implementation everywhere, does not handle out-of-order
packets
|
|
|
|
Seeding is currently only done on the key you specify, in the future
the user should request data that it can seed.
|
|
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?
|
|
|
|
|