aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-03 13:19:52 +0000
commit29c724d2a7764f83fe846b418d09540348b86983 (patch)
treedafaff8e37ba51355b22b6f38d856ae49e145006 /src/nse
parentb303961f38c9b578f30248ee364ed4e5ffdcd06c (diff)
downloadgnunet-29c724d2a7764f83fe846b418d09540348b86983.tar.gz
gnunet-29c724d2a7764f83fe846b418d09540348b86983.zip
implementing #1747
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/Makefile.am5
-rw-r--r--src/nse/nse.conf24
2 files changed, 29 insertions, 0 deletions
diff --git a/src/nse/Makefile.am b/src/nse/Makefile.am
index af16a420d..48844bfc0 100644
--- a/src/nse/Makefile.am
+++ b/src/nse/Makefile.am
@@ -9,6 +9,11 @@ if USE_COVERAGE
9 XLIB = -lgcov 9 XLIB = -lgcov
10endif 10endif
11 11
12pkgcfgdir= $(pkgdatadir)/config.d/
13
14dist_pkgcfg_DATA = \
15 nse.conf
16
12 17
13lib_LTLIBRARIES = libgnunetnse.la 18lib_LTLIBRARIES = libgnunetnse.la
14 19
diff --git a/src/nse/nse.conf b/src/nse/nse.conf
new file mode 100644
index 000000000..318fd15fd
--- /dev/null
+++ b/src/nse/nse.conf
@@ -0,0 +1,24 @@
1[nse]
2AUTOSTART = YES
3PORT = 2097
4HOSTNAME = localhost
5HOME = $SERVICEHOME
6CONFIG = $DEFAULTCONFIG
7BINARY = gnunet-service-nse
8ACCEPT_FROM = 127.0.0.1;
9ACCEPT_FROM6 = ::1;
10UNIXPATH = /tmp/test-nse-service-nse.unix
11UNIX_MATCH_UID = YES
12UNIX_MATCH_GID = YES
13PROOFFILE = $SERVICEHOME/.nse-proof
14HISTOGRAM = $SERVICEHOME/nse-history.log
15
16# How 'slowly' should the proof-of-work be constructed (delay
17# between rounds in ms); sane values between 0 and ~1000.
18WORKDELAY = 5
19
20# Note: changing any of the values below will make this peer
21# completely incompatible with other peers!
22INTERVAL = 3600000
23WORKBITS = 20
24