aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-04-30 13:52:36 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-04-30 13:52:41 +0200
commit670e3eed2703dcee1dee0508e45d8454cae78544 (patch)
treebf4ddf2e1023a0425f677d399a391ad0652a2306 /include
parent54de8e3b0b353b8c62b566dabb7b082a1cdd371e (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);