diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-04-30 13:52:36 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-04-30 13:52:41 +0200 |
commit | 670e3eed2703dcee1dee0508e45d8454cae78544 (patch) | |
tree | bf4ddf2e1023a0425f677d399a391ad0652a2306 /include | |
parent | 54de8e3b0b353b8c62b566dabb7b082a1cdd371e (diff) |
Include fraction in timestamp. Timestamp is now in microseconds
Diffstat (limited to 'include')
-rw-r--r-- | include/odhtdb/Database.hpp | 2 |
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); |