aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_routing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-01-09 12:22:04 +0100
committerChristian Grothoff <christian@grothoff.org>2022-01-09 12:22:04 +0100
commitec19c1e316efdd29a7af0524fc2ff33cc4b19d09 (patch)
tree184a59ff1c8408c462254e53f7e2004be829e237 /src/dht/gnunet-service-dht_routing.c
parentc3ecadd45b11f82e22ba81b42864c7826d0f97c6 (diff)
downloadgnunet-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_routing.c')
-rw-r--r--src/dht/gnunet-service-dht_routing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht_routing.c b/src/dht/gnunet-service-dht_routing.c
index ec36eae75..e7b5c3571 100644
--- a/src/dht/gnunet-service-dht_routing.c
+++ b/src/dht/gnunet-service-dht_routing.c
@@ -109,7 +109,7 @@ struct ProcessContext
109 /** 109 /**
110 * Path of the reply. 110 * Path of the reply.
111 */ 111 */
112 const struct GNUNET_PeerIdentity *get_path; 112 const struct GNUNET_DHT_PathElement *get_path;
113 113
114 /** 114 /**
115 * Number of entries in @e get_path. 115 * Number of entries in @e get_path.
@@ -181,7 +181,7 @@ process (void *cls,
181 case GNUNET_BLOCK_REPLY_TYPE_NOT_SUPPORTED: 181 case GNUNET_BLOCK_REPLY_TYPE_NOT_SUPPORTED:
182 { 182 {
183 struct PeerInfo *pi; 183 struct PeerInfo *pi;
184 184
185 GNUNET_STATISTICS_update (GDS_stats, 185 GNUNET_STATISTICS_update (GDS_stats,
186 "# Good REPLIES matched against routing table", 186 "# Good REPLIES matched against routing table",
187 1, 187 1,
@@ -244,7 +244,7 @@ void
244GDS_ROUTING_process (const struct GDS_DATACACHE_BlockData *bd, 244GDS_ROUTING_process (const struct GDS_DATACACHE_BlockData *bd,
245 const struct GNUNET_HashCode *query_hash, 245 const struct GNUNET_HashCode *query_hash,
246 unsigned int get_path_length, 246 unsigned int get_path_length,
247 const struct GNUNET_PeerIdentity *get_path) 247 const struct GNUNET_DHT_PathElement *get_path)
248{ 248{
249 struct ProcessContext pc = { 249 struct ProcessContext pc = {
250 .bd = bd, 250 .bd = bd,