From 29c724d2a7764f83fe846b418d09540348b86983 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 3 Nov 2011 13:19:52 +0000 Subject: implementing #1747 --- src/nse/Makefile.am | 5 +++++ src/nse/nse.conf | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/nse/nse.conf (limited to 'src/nse') 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 XLIB = -lgcov endif +pkgcfgdir= $(pkgdatadir)/config.d/ + +dist_pkgcfg_DATA = \ + nse.conf + lib_LTLIBRARIES = libgnunetnse.la 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 @@ +[nse] +AUTOSTART = YES +PORT = 2097 +HOSTNAME = localhost +HOME = $SERVICEHOME +CONFIG = $DEFAULTCONFIG +BINARY = gnunet-service-nse +ACCEPT_FROM = 127.0.0.1; +ACCEPT_FROM6 = ::1; +UNIXPATH = /tmp/test-nse-service-nse.unix +UNIX_MATCH_UID = YES +UNIX_MATCH_GID = YES +PROOFFILE = $SERVICEHOME/.nse-proof +HISTOGRAM = $SERVICEHOME/nse-history.log + +# How 'slowly' should the proof-of-work be constructed (delay +# between rounds in ms); sane values between 0 and ~1000. +WORKDELAY = 5 + +# Note: changing any of the values below will make this peer +# completely incompatible with other peers! +INTERVAL = 3600000 +WORKBITS = 20 + -- cgit v1.2.3