aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-02-10 19:36:35 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:12 +0200
commita9a7ecaa25e6bc11062e21affd458e2de78747ff (patch)
treec14a4e269cbf46163cf334781a5925d052e72aa1 /include
parent64df3de50aa88f15e1a46f21a0f62281eb582603 (diff)
Fix put not working because used time discards message before received
Diffstat (limited to 'include')
-rw-r--r--include/Database.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Database.hpp b/include/Database.hpp
index bde4d5a..bfc3021 100644
--- a/include/Database.hpp
+++ b/include/Database.hpp
@@ -29,8 +29,8 @@ namespace odhtdb
ntp::NtpTimestamp getSyncedTimestampUtc() const;
StagedCreateObject deserializeCreateRequest(const std::shared_ptr<dht::Value> &value);
StagedAddObject deserializeAddRequest(const std::shared_ptr<dht::Value> &value);
- bool listenCreateData(const std::vector<std::shared_ptr<dht::Value>> &values);
- bool listenAddData(const std::vector<std::shared_ptr<dht::Value>> &values);
+ bool listenCreateData(std::shared_ptr<dht::Value> value);
+ bool listenAddData(std::shared_ptr<dht::Value> value);
private:
dht::DhtRunner node;
std::vector<StagedCreateObject> stagedCreateObjects;