[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33947 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33947 - gnunet/src/gns |
Date: |
Thu, 10 Jul 2014 10:51:20 +0200 |
Author: wachs
Date: 2014-07-10 10:51:20 +0200 (Thu, 10 Jul 2014)
New Revision: 33947
Modified:
gnunet/src/gns/gnunet-service-gns.c
Log:
improving documentation
Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2014-07-09 14:46:56 UTC (rev 33946)
+++ gnunet/src/gns/gnunet-service-gns.c 2014-07-10 08:51:20 UTC (rev 33947)
@@ -536,12 +536,14 @@
}
else
{
- zone_publish_time_window
- = GNUNET_TIME_relative_min (GNUNET_TIME_relative_divide
(min_relative_record_time,
- 4),
- zone_publish_time_window_default);
+ /* If records are present, next publication is based on the minimum
+ * relative expiration time of the records published divided by 4
+ */
+ zone_publish_time_window = GNUNET_TIME_relative_min (
+ GNUNET_TIME_relative_divide (min_relative_record_time, 4),
+ zone_publish_time_window_default);
put_interval = GNUNET_TIME_relative_divide (zone_publish_time_window,
- num_public_records);
+ num_public_records);
}
/* reset for next iteration */
min_relative_record_time = GNUNET_TIME_UNIT_FOREVER_REL;
@@ -599,7 +601,7 @@
/**
- * Periodically iterate over our zone and store everything in dht
+ * Periodically iterate over all zones and store everything in DHT
*
* @param cls NULL
* @param tc task context
@@ -615,9 +617,8 @@
/* start counting again */
num_public_records = 0;
namestore_iter = GNUNET_NAMESTORE_zone_iteration_start (namestore_handle,
- NULL, /* All zones */
- &put_gns_record,
- NULL);
+ NULL, /* All zones */
+ &put_gns_record, NULL );
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33947 - gnunet/src/gns,
gnunet <=