aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 20:00:55 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 20:00:55 +0200
commit1f2674fe293be7c1a852fbe4a7241fbcb149078f (patch)
tree075dd0aa3d2b19b0c62b18bdf3d99f324dea2966 /src/rps
parent82a5d35360c4c882d9a5f92c4ac27c61bd4a4cc5 (diff)
downloadgnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.tar.gz
gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.zip
-fix typos
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps_custommap.h4
-rw-r--r--src/rps/gnunet-service-rps_sampler.h5
-rw-r--r--src/rps/rps-sampler_client.h4
-rw-r--r--src/rps/rps-sampler_common.h4
-rw-r--r--src/rps/rps-test_util.h2
-rw-r--r--src/rps/rps.h2
6 files changed, 10 insertions, 11 deletions
diff --git a/src/rps/gnunet-service-rps_custommap.h b/src/rps/gnunet-service-rps_custommap.h
index 15591b67a..e7f669c63 100644
--- a/src/rps/gnunet-service-rps_custommap.h
+++ b/src/rps/gnunet-service-rps_custommap.h
@@ -44,10 +44,10 @@
44 * 44 *
45 * This list is expected to 45 * This list is expected to
46 * - be altered in small steps frequently 46 * - be altered in small steps frequently
47 * - be cleared regularily 47 * - be cleared regularly
48 * - often being queried whether a peer is contained 48 * - often being queried whether a peer is contained
49 * - alter indices of peers 49 * - alter indices of peers
50 * - contain continous indices 0 <= i < len 50 * - contain continuous indices 0 <= i < len
51 * - not contain duplicate peers 51 * - not contain duplicate peers
52 */ 52 */
53struct CustomPeerMap; 53struct CustomPeerMap;
diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h
index f3a8c9763..410823bea 100644
--- a/src/rps/gnunet-service-rps_sampler.h
+++ b/src/rps/gnunet-service-rps_sampler.h
@@ -125,7 +125,7 @@ RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler,
125 void *cls); 125 void *cls);
126 126
127/** 127/**
128 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. 128 * Cancel a request issued through #RPS_sampler_n_rand_peers_ready_cb.
129 * 129 *
130 * @param req_handle the handle to the request 130 * @param req_handle the handle to the request
131 */ 131 */
@@ -136,9 +136,8 @@ RPS_sampler_request_cancel (struct RPS_SamplerRequestHandle *req_handle);
136/** 136/**
137 * Counts how many Samplers currently hold a given PeerID. 137 * Counts how many Samplers currently hold a given PeerID.
138 * 138 *
139 * @param sampler the sampler to cound ids in. 139 * @param sampler the sampler to count ids in.
140 * @param id the PeerID to count. 140 * @param id the PeerID to count.
141 *
142 * @return the number of occurrences of id. 141 * @return the number of occurrences of id.
143 */ 142 */
144uint32_t 143uint32_t
diff --git a/src/rps/rps-sampler_client.h b/src/rps/rps-sampler_client.h
index e6b808650..7a674371d 100644
--- a/src/rps/rps-sampler_client.h
+++ b/src/rps/rps-sampler_client.h
@@ -123,7 +123,7 @@ RPS_sampler_get_n_rand_peers (struct RPS_Sampler *sampler,
123 123
124 124
125/** 125/**
126 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. 126 * Cancel a request issued through #RPS_sampler_n_rand_peers_ready_cb.
127 * 127 *
128 * @param req_handle the handle to the request 128 * @param req_handle the handle to the request
129 */ 129 */
@@ -134,7 +134,7 @@ RPS_sampler_request_cancel (struct RPS_SamplerRequestHandle *req_handle);
134/** 134/**
135 * Counts how many Samplers currently hold a given PeerID. 135 * Counts how many Samplers currently hold a given PeerID.
136 * 136 *
137 * @param sampler the sampler to cound ids in. 137 * @param sampler the sampler to count ids in.
138 * @param id the PeerID to count. 138 * @param id the PeerID to count.
139 * 139 *
140 * @return the number of occurrences of id. 140 * @return the number of occurrences of id.
diff --git a/src/rps/rps-sampler_common.h b/src/rps/rps-sampler_common.h
index 72202dc93..c60d37217 100644
--- a/src/rps/rps-sampler_common.h
+++ b/src/rps/rps-sampler_common.h
@@ -363,7 +363,7 @@ RPS_sampler_count_id (struct RPS_Sampler *sampler,
363 363
364 364
365/** 365/**
366 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. 366 * Cancel a request issued through #RPS_sampler_n_rand_peers_ready_cb.
367 * 367 *
368 * @param req_handle the handle to the request 368 * @param req_handle the handle to the request
369 */ 369 */
@@ -372,7 +372,7 @@ RPS_sampler_request_cancel (struct RPS_SamplerRequestHandle *req_handle);
372 372
373 373
374/** 374/**
375 * Cancle a request issued through #RPS_sampler_n_rand_peers_ready_cb. 375 * Cancel a request issued through #RPS_sampler_n_rand_peers_ready_cb.
376 * 376 *
377 * @param req_handle the handle to the request 377 * @param req_handle the handle to the request
378 */ 378 */
diff --git a/src/rps/rps-test_util.h b/src/rps/rps-test_util.h
index 72aa78803..9ff13bdcf 100644
--- a/src/rps/rps-test_util.h
+++ b/src/rps/rps-test_util.h
@@ -20,7 +20,7 @@
20 20
21/** 21/**
22 * @file rps/rps-test_util.h 22 * @file rps/rps-test_util.h
23 * @brief Some utils faciliating the view into the internals for the sampler 23 * @brief Some utils facilitating the view into the internals for the sampler
24 * needed for evaluation 24 * needed for evaluation
25 * @author Julius Bünger 25 * @author Julius Bünger
26 */ 26 */
diff --git a/src/rps/rps.h b/src/rps/rps.h
index 9d42a6104..202f881c9 100644
--- a/src/rps/rps.h
+++ b/src/rps/rps.h
@@ -98,7 +98,7 @@ struct GNUNET_RPS_CS_ActMaliciousMessage
98 /** 98 /**
99 * Type of malicious behaviour. 99 * Type of malicious behaviour.
100 * 100 *
101 * 0 No malicious bahaviour at all 101 * 0 No malicious behaviour at all
102 * 1 Try to maximise representation 102 * 1 Try to maximise representation
103 * 2 Try to partition the network 103 * 2 Try to partition the network
104 */ 104 */