* requests once the new peers have done so.
*
* @param cls closure (unused)
- * @param cls task context (unused)
+ * @param tc task context (unused)
*/
static void
churn_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
*
* @param peer the peer identity of the peer being added
* @param bucket the bucket that we want this peer to go in
- * @param latency transport latency of this peer
- * @param distance transport distance to this peer
+ * @param atsi transport ATS information
*
* @return NULL if the peer was not added,
* pointer to PeerInfo for new peer otherwise
*
* @param target the key we are selecting a peer to route to
* @param bloom a bloomfilter containing entries this request has seen already
+ * @param hops how many hops has this message traversed thus far
*
* @return Peer to route to, or NULL on error
*/
/**
* Core handler for p2p route requests.
+ *
+ * @param cls closure
+ * @param peer peer identity this notification is about
+ * @param atsi performance data
+ *
*/
static int
handle_dht_p2p_route_request (void *cls,
/**
* Core handler for p2p route results.
+ *
+ * @param cls closure
+ * @param peer peer identity this notification is about
+ * @param atsi performance data
+ *
*/
static int
handle_dht_p2p_route_result (void *cls,
* @param cls closure
* @param peer peer which sent the message (immediate sender)
* @param message the message
- * @param latency the latency of the connection we received the message from
- * @param distance the distance to the immediate peer
+ * @param atsi transport ATS information (latency, distance, etc.)
*/
static int
handle_dv_data_message (void *cls,
* of each peer in the peer group
*
* @param pg the peer group we are dealing with
+ * @param notify_callback callback to notify when finished
+ * @param notify_cls closure for notify callback
+ *
* @return the number of connections that will be attempted
*/
static int