From 9af086151e6d9d3fe88f9e3e21797812a3e701ba Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Mon, 14 May 2018 00:20:11 +0200 Subject: Replace files with sqlite 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 --- project.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'project.conf') diff --git a/project.conf b/project.conf index c878112..c51f4a7 100644 --- a/project.conf +++ b/project.conf @@ -1,6 +1,6 @@ [package] name = "odhtdb" -version = "0.0.1" +version = "0.0.2" type = "library" platforms = ["linux32", "linux64"] tests = "tests" @@ -16,3 +16,4 @@ sibs-serializer = "0.2.1" boost-filesystem = "1.66.0" boost-uuid = "1.66.0" argon2 = "2017.12.27" +sqlite3 = "3.0.0" -- cgit v1.2.3