From c01f92c1b7f3c257d71961a8dcdf37318aa3f521 Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Thu, 3 May 2018 06:41:50 +0200 Subject: Temporary remove timestamp check --- include/odhtdb/DatabaseStorage.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/odhtdb/DatabaseStorage.hpp b/include/odhtdb/DatabaseStorage.hpp index 9f1a992..11e243a 100644 --- a/include/odhtdb/DatabaseStorage.hpp +++ b/include/odhtdb/DatabaseStorage.hpp @@ -137,6 +137,10 @@ namespace odhtdb // Return false if user public key already exists, otherwise return true bool addUser(const Hash &nodeHash, User *user); + // Increase user action counter, returning the new value. If user has not performed any action yet, then 0 is returned. + // Returns DatabaseStorageException if no node with id @nodeHash exists or if user with public key @userPublicKey doesn't exist in node @nodeHash + //u64 increaseUserActionCounter(const Hash &nodeHash, const Signature::PublicKey &userPublicKey); + // Returns nullptr if no storage with provided hash exists const DatabaseStorageObjectList* getStorage(const Hash &hash) const; -- cgit v1.2.3