diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-14 18:20:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-14 18:20:55 +0000 |
commit | e43155e9ea536991a489e0fe04890e0269869af1 (patch) | |
tree | b6488239217f7c00d7dc109641292b4ba5092ded /src/identity/identity.conf.in | |
parent | 206b8c58b7e6843ddb4832692b11032d4fe57541 (diff) | |
download | gnunet-e43155e9ea536991a489e0fe04890e0269869af1.tar.gz gnunet-e43155e9ea536991a489e0fe04890e0269869af1.zip |
-skeleton for identity service
Diffstat (limited to 'src/identity/identity.conf.in')
-rw-r--r-- | src/identity/identity.conf.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/identity/identity.conf.in b/src/identity/identity.conf.in new file mode 100644 index 000000000..64e07945e --- /dev/null +++ b/src/identity/identity.conf.in | |||
@@ -0,0 +1,39 @@ | |||
1 | [nse] | ||
2 | AUTOSTART = YES | ||
3 | @JAVAPORT@PORT = 2097 | ||
4 | HOSTNAME = localhost | ||
5 | HOME = $SERVICEHOME | ||
6 | BINARY = gnunet-service-nse | ||
7 | ACCEPT_FROM = 127.0.0.1; | ||
8 | ACCEPT_FROM6 = ::1; | ||
9 | UNIXPATH = /tmp/test-nse-service-nse.unix | ||
10 | UNIX_MATCH_UID = NO | ||
11 | UNIX_MATCH_GID = YES | ||
12 | PROOFFILE = $SERVICEHOME/.nse-proof | ||
13 | |||
14 | # The directory where the NSE services logs timestamps everytime | ||
15 | # a size estime flooding message is received | ||
16 | # This option is only used for benchmarking, not in production. | ||
17 | HISTOGRAM_DIR = $SERVICEHOME | ||
18 | |||
19 | # How 'slowly' should the proof-of-work be constructed (delay | ||
20 | # between rounds); sane values between 0 and ~1000. | ||
21 | # It should rarely make sense to change this value. | ||
22 | # Only systems with slow CPUs where 5ms is a long time might | ||
23 | # want it to be reduced. | ||
24 | WORKDELAY = 5 ms | ||
25 | |||
26 | # Note: changing any of the values below will make this peer | ||
27 | # completely incompatible with other peers! | ||
28 | |||
29 | # How often do peers exchange network size messages? | ||
30 | # Note that all peers MUST use the same interval. | ||
31 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! | ||
32 | INTERVAL = 1 h | ||
33 | |||
34 | # 2^22 hash operations take about 2-3h on a modern i7 (single-core) | ||
35 | # for SCRYPT; with 2ms/op and 5ms workdelay, we can expect | ||
36 | # the POW calculation to be done by a high-end peer in about 6h | ||
37 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! | ||
38 | WORKBITS = 22 | ||
39 | |||