aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-30 11:31:22 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-30 11:31:22 +0200
commitccf723196e9ff7f31a56a8e8ebd8319d07fa17c8 (patch)
tree0ccec2bc54f5f80f35054dda5a1cfe8202ab522f /src/dht/dht.h
parent82c1ee4d147f28e919d82f87fcd787e719d7e572 (diff)
downloadgnunet-ccf723196e9ff7f31a56a8e8ebd8319d07fa17c8.tar.gz
gnunet-ccf723196e9ff7f31a56a8e8ebd8319d07fa17c8.zip
eliminate DHT PUT OK message by using MQ feature of calling continuation when transmission is complete
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r--src/dht/dht.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index 4c994f93a..95ffa33ca 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -214,11 +214,6 @@ struct GNUNET_DHT_ClientPutMessage
214 uint32_t desired_replication_level GNUNET_PACKED; 214 uint32_t desired_replication_level GNUNET_PACKED;
215 215
216 /** 216 /**
217 * Unique ID for the PUT message.
218 */
219 uint64_t unique_id GNUNET_PACKED;
220
221 /**
222 * How long should this data persist? 217 * How long should this data persist?
223 */ 218 */
224 struct GNUNET_TIME_AbsoluteNBO expiration; 219 struct GNUNET_TIME_AbsoluteNBO expiration;
@@ -234,30 +229,6 @@ struct GNUNET_DHT_ClientPutMessage
234 229
235 230
236/** 231/**
237 * Message to confirming receipt of PUT, sent from DHT service to clients.
238 */
239struct GNUNET_DHT_ClientPutConfirmationMessage
240{
241 /**
242 * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT_OK
243 */
244 struct GNUNET_MessageHeader header;
245
246 /**
247 * Always zero.
248 */
249 uint32_t reserved GNUNET_PACKED;
250
251 /**
252 * Unique ID from the PUT message that is being confirmed.
253 */
254 uint64_t unique_id GNUNET_PACKED;
255
256};
257
258
259
260/**
261 * Message to monitor put requests going through peer, DHT service -> clients. 232 * Message to monitor put requests going through peer, DHT service -> clients.
262 */ 233 */
263struct GNUNET_DHT_MonitorPutMessage 234struct GNUNET_DHT_MonitorPutMessage