aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-10 10:31:59 +0100
committerChristian Grothoff <christian@grothoff.org>2022-01-10 10:31:59 +0100
commit8f8351c2ddb2c3040195548363161a2a177c7cc0 (patch)
tree2d20e0664649e63797729622e0a9bade90d9245e /src/include
parent14d1628f5f19326e99597a33661f40f2f642f4f1 (diff)
downloadgnunet-8f8351c2ddb2c3040195548363161a2a177c7cc0.tar.gz
gnunet-8f8351c2ddb2c3040195548363161a2a177c7cc0.zip
add more information to ensure signatures are fresh and request-specific
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_dht_service.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h
index d33ef2f0d..7376dd5f4 100644
--- a/src/include/gnunet_dht_service.h
+++ b/src/include/gnunet_dht_service.h
@@ -126,6 +126,21 @@ struct GNUNET_DHT_HopSignature
126 struct GNUNET_CRYPTO_EccSignaturePurpose purpose; 126 struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
127 127
128 /** 128 /**
129 * Expiration time of the block.
130 */
131 struct GNUNET_TIME_AbsoluteNBO expiration_time;
132
133 /**
134 * Key of the block.
135 */
136 struct GNUNET_HashCode key;
137
138 /**
139 * Hash over the payload of the block.
140 */
141 struct GNUNET_HashCode h_data;
142
143 /**
129 * Previous hop the message was received from. All zeros 144 * Previous hop the message was received from. All zeros
130 * if this peer was the initiator. 145 * if this peer was the initiator.
131 */ 146 */