diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-04-05 11:38:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-04-05 11:38:02 +0000 |
commit | f215983130428573f83a99628f8e450c2a761f65 (patch) | |
tree | 70b611302b9ed76c045d684ecf27e2b633da17a4 /src/nse/nse.conf.in | |
parent | 893acb679e80a7ad9c38885711139a9619fb4c6c (diff) | |
download | gnunet-f215983130428573f83a99628f8e450c2a761f65.tar.gz gnunet-f215983130428573f83a99628f8e450c2a761f65.zip |
use SCRYPT - fixing # 2685, needs LATEST libgcrypt (Git from today)
Diffstat (limited to 'src/nse/nse.conf.in')
-rw-r--r-- | src/nse/nse.conf.in | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/nse/nse.conf.in b/src/nse/nse.conf.in index 84bbef5c5..64e07945e 100644 --- a/src/nse/nse.conf.in +++ b/src/nse/nse.conf.in | |||
@@ -11,18 +11,29 @@ UNIX_MATCH_UID = NO | |||
11 | UNIX_MATCH_GID = YES | 11 | UNIX_MATCH_GID = YES |
12 | PROOFFILE = $SERVICEHOME/.nse-proof | 12 | PROOFFILE = $SERVICEHOME/.nse-proof |
13 | 13 | ||
14 | # The directory where the NSE services logs timestamps everytime a size estime | 14 | # The directory where the NSE services logs timestamps everytime |
15 | # flooding message is received | 15 | # a size estime flooding message is received |
16 | # This option is only used for benchmarking, not in production. | ||
16 | HISTOGRAM_DIR = $SERVICEHOME | 17 | HISTOGRAM_DIR = $SERVICEHOME |
17 | 18 | ||
18 | # How 'slowly' should the proof-of-work be constructed (delay | 19 | # How 'slowly' should the proof-of-work be constructed (delay |
19 | # between rounds); sane values between 0 and ~1000. | 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. | ||
20 | WORKDELAY = 5 ms | 24 | WORKDELAY = 5 ms |
21 | 25 | ||
22 | # Note: changing any of the values below will make this peer | 26 | # Note: changing any of the values below will make this peer |
23 | # completely incompatible with other peers! | 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! | ||
24 | INTERVAL = 1 h | 32 | INTERVAL = 1 h |
25 | # 26 is about 100 minutes on a modern i7 (single-core) for PBKDF2; | 33 | |
26 | # need to re-calibrate once we have SCRYPT! | 34 | # 2^22 hash operations take about 2-3h on a modern i7 (single-core) |
27 | WORKBITS = 26 | 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 | ||
28 | 39 | ||