diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-14 17:51:34 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-14 17:51:34 +0100 |
commit | b8672206edfb2047132311b9a3ab3a0138bdc422 (patch) | |
tree | 3c9361a0ba00b5f1d4944fec66cbc9a266d31ca9 /src/service/nse/nse.conf.in | |
parent | 34587531b0ed15bbc8d73d21123101b7ca482389 (diff) | |
parent | 8e8c3f1e1c8c81a269c57e635153ec22fbfe216e (diff) | |
download | gnunet-b8672206edfb2047132311b9a3ab3a0138bdc422.tar.gz gnunet-b8672206edfb2047132311b9a3ab3a0138bdc422.zip |
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'src/service/nse/nse.conf.in')
-rw-r--r-- | src/service/nse/nse.conf.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/service/nse/nse.conf.in b/src/service/nse/nse.conf.in new file mode 100644 index 000000000..0ac5621aa --- /dev/null +++ b/src/service/nse/nse.conf.in | |||
@@ -0,0 +1,38 @@ | |||
1 | [nse] | ||
2 | START_ON_DEMAND = @START_ON_DEMAND@ | ||
3 | IMMEDIATE_START = YES | ||
4 | @JAVAPORT@PORT = 2097 | ||
5 | HOSTNAME = localhost | ||
6 | BINARY = gnunet-service-nse | ||
7 | ACCEPT_FROM = 127.0.0.1; | ||
8 | ACCEPT_FROM6 = ::1; | ||
9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-nse.sock | ||
10 | UNIX_MATCH_UID = NO | ||
11 | UNIX_MATCH_GID = YES | ||
12 | PROOFFILE = $GNUNET_DATA_HOME/nse/proof.dat | ||
13 | |||
14 | # The directory where the NSE services logs timestamps every time | ||
15 | # a size estime flooding message is received | ||
16 | # This option is only used for benchmarking, not in production. | ||
17 | HISTOGRAM_DIR = $GNUNET_CACHE_HOME/nse/histogram | ||
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 first-generation 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 = 15 | ||