From f416f33d7cf879f543be9c804c20b0c9cb76de4d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 30 Apr 2018 13:52:36 +0200 Subject: Include fraction in timestamp. Timestamp is now in microseconds --- include/odhtdb/Database.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/odhtdb/Database.hpp b/include/odhtdb/Database.hpp index f222215..18ae5a1 100644 --- a/include/odhtdb/Database.hpp +++ b/include/odhtdb/Database.hpp @@ -171,12 +171,12 @@ namespace odhtdb void setOnAddUserCallback(std::function callbackFunc); DatabaseStorage& getStorage(); + ntp::NtpTimestamp getSyncedTimestampUtc() const; private: // Throws CommitCreateException on failure void commitStagedCreateObject(const std::unique_ptr &stagedObject); // Throws CommitAddException on failure void commitStagedAddObject(const std::unique_ptr &stagedObject); - ntp::NtpTimestamp getSyncedTimestampUtc() const; void deserializeCreateRequest(const std::shared_ptr &value, const Hash &hash, const std::shared_ptr encryptionKey); void deserializeAddRequest(const std::shared_ptr &value, const Hash &requestDataHash, const std::shared_ptr &nodeHash, const std::shared_ptr encryptionKey); bool listenCreateData(std::shared_ptr value, const Hash &hash, const std::shared_ptr encryptionKey); -- cgit v1.2.3