Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|