aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-05-03 06:41:50 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-05-03 06:41:54 +0200
commitc01f92c1b7f3c257d71961a8dcdf37318aa3f521 (patch)
tree464783f42e11bf28f4244cbd78318a05f3199f2b /include
parentdf4c9798e514eaaf7d8387110eb06a2187e43eea (diff)
Temporary remove timestamp check
Diffstat (limited to 'include')
-rw-r--r--include/odhtdb/DatabaseStorage.hpp4
1 files changed, 4 insertions, 0 deletions
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;