aboutsummaryrefslogtreecommitdiff
path: root/src/identity/gnunet-service-identity.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-14 19:25:22 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-14 19:25:22 +0000
commitf271c0f567f00a9adaba5712e21ccd8129e17d74 (patch)
tree1f29cdc03ec530bdb32c89f7d3876e3d5e14a5a2 /src/identity/gnunet-service-identity.c
parent4dab52c785c9e4498abeb7fe6278f23f1000ec98 (diff)
downloadgnunet-f271c0f567f00a9adaba5712e21ccd8129e17d74.tar.gz
gnunet-f271c0f567f00a9adaba5712e21ccd8129e17d74.zip
-renaming pseudonym to ego in identity service
Diffstat (limited to 'src/identity/gnunet-service-identity.c')
-rw-r--r--src/identity/gnunet-service-identity.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/identity/gnunet-service-identity.c b/src/identity/gnunet-service-identity.c
index 05f9ce134..c1ef9565f 100644
--- a/src/identity/gnunet-service-identity.c
+++ b/src/identity/gnunet-service-identity.c
@@ -20,27 +20,16 @@
20 20
21/** 21/**
22 * @file identity/gnunet-service-identity.c 22 * @file identity/gnunet-service-identity.c
23 * @brief network size estimation service 23 * @brief identity (management_ service
24 * @author Nathan Evans
25 * @author Christian Grothoff 24 * @author Christian Grothoff
26 * 25 *
27 * The purpose of this service is to estimate the size of the network. 26 * The purpose of this service is to manage private keys that
28 * Given a specified interval, each peer hashes the most recent 27 * represent the various egos/pseudonyms/identities of a GNUnet user.
29 * timestamp which is evenly divisible by that interval. This hash is
30 * compared in distance to the peer identity to choose an offset. The
31 * closer the peer identity to the hashed timestamp, the earlier the
32 * peer sends out a "nearest peer" message. The closest peer's
33 * message should thus be received before any others, which stops
34 * those peer from sending their messages at a later duration. So
35 * every peer should receive the same nearest peer message, and from
36 * this can calculate the expected number of peers in the network.
37 */ 28 */
38#include "platform.h" 29#include "platform.h"
39#include <math.h>
40#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
41#include "gnunet_constants.h" 31#include "gnunet_constants.h"
42#include "gnunet_protocols.h" 32#include "gnunet_protocols.h"
43#include "gnunet_signatures.h"
44#include "gnunet_statistics_service.h" 33#include "gnunet_statistics_service.h"
45#include "gnunet_identity_service.h" 34#include "gnunet_identity_service.h"
46#include "identity.h" 35#include "identity.h"