diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-01-09 12:22:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-01-09 12:22:04 +0100 |
commit | ec19c1e316efdd29a7af0524fc2ff33cc4b19d09 (patch) | |
tree | 184a59ff1c8408c462254e53f7e2004be829e237 /src/dht/gnunet-service-dht_datacache.c | |
parent | c3ecadd45b11f82e22ba81b42864c7826d0f97c6 (diff) | |
download | gnunet-ec19c1e316efdd29a7af0524fc2ff33cc4b19d09.tar.gz gnunet-ec19c1e316efdd29a7af0524fc2ff33cc4b19d09.zip |
DHT: modify API and protocol messages to add path signatures, except for now the actual signatures are just placeholders (signing and signature verification are missing)
Diffstat (limited to 'src/dht/gnunet-service-dht_datacache.c')
-rw-r--r-- | src/dht/gnunet-service-dht_datacache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht_datacache.c b/src/dht/gnunet-service-dht_datacache.c index 214c4a3f4..cb778717b 100644 --- a/src/dht/gnunet-service-dht_datacache.c +++ b/src/dht/gnunet-service-dht_datacache.c | |||
@@ -152,7 +152,7 @@ datacache_get_iterator (void *cls, | |||
152 | enum GNUNET_BLOCK_Type type, | 152 | enum GNUNET_BLOCK_Type type, |
153 | struct GNUNET_TIME_Absolute exp, | 153 | struct GNUNET_TIME_Absolute exp, |
154 | unsigned int put_path_length, | 154 | unsigned int put_path_length, |
155 | const struct GNUNET_PeerIdentity *put_path) | 155 | const struct GNUNET_DHT_PathElement *put_path) |
156 | { | 156 | { |
157 | struct GetRequestContext *ctx = cls; | 157 | struct GetRequestContext *ctx = cls; |
158 | enum GNUNET_BLOCK_ReplyEvaluationResult eval; | 158 | enum GNUNET_BLOCK_ReplyEvaluationResult eval; |
@@ -301,7 +301,8 @@ datacache_get_successors_iterator (void *cls, | |||
301 | enum GNUNET_BLOCK_Type type, | 301 | enum GNUNET_BLOCK_Type type, |
302 | struct GNUNET_TIME_Absolute exp, | 302 | struct GNUNET_TIME_Absolute exp, |
303 | unsigned int put_path_length, | 303 | unsigned int put_path_length, |
304 | const struct GNUNET_PeerIdentity *put_path) | 304 | const struct |
305 | GNUNET_DHT_PathElement *put_path) | ||
305 | { | 306 | { |
306 | const struct SuccContext *sc = cls; | 307 | const struct SuccContext *sc = cls; |
307 | struct GDS_DATACACHE_BlockData bd = { | 308 | struct GDS_DATACACHE_BlockData bd = { |