aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-30 13:52:36 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commitf416f33d7cf879f543be9c804c20b0c9cb76de4d (patch)
tree5375a3a23661499463b09e19e4e018b13210562a /include
parentd46f2063e04ee49c631e8966029affd8dd1fa5e4 (diff)
Include fraction in timestamp. Timestamp is now in microseconds
Diffstat (limited to 'include')
-rw-r--r--include/odhtdb/Database.hpp2
1 files changed, 1 insertions, 1 deletions
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<void(const DatabaseAddUserRequest&)> callbackFunc);
DatabaseStorage& getStorage();
+ ntp::NtpTimestamp getSyncedTimestampUtc() const;
private:
// Throws CommitCreateException on failure
void commitStagedCreateObject(const std::unique_ptr<StagedObject> &stagedObject);
// Throws CommitAddException on failure
void commitStagedAddObject(const std::unique_ptr<StagedObject> &stagedObject);
- ntp::NtpTimestamp getSyncedTimestampUtc() const;
void deserializeCreateRequest(const std::shared_ptr<dht::Value> &value, const Hash &hash, const std::shared_ptr<OwnedMemory> encryptionKey);
void deserializeAddRequest(const std::shared_ptr<dht::Value> &value, const Hash &requestDataHash, const std::shared_ptr<Hash> &nodeHash, const std::shared_ptr<OwnedMemory> encryptionKey);
bool listenCreateData(std::shared_ptr<dht::Value> value, const Hash &hash, const std::shared_ptr<OwnedMemory> encryptionKey);