Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / rps / rps.conf.in
index bd64791be13866ea89a9bd486f1dcac3d495848a..b5feb1bd25e6ac24c8944540aa687142812b2134 100644 (file)
@@ -1,7 +1,27 @@
 [rps]
+AUTOSTART = @AUTOSTART@
 BINARY = gnunet-service-rps
-UNIXPATH = /tmp/gnunet-service-rps.sock
+UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-rps.sock
 HOME = $SERVICEHOME
-# PORT = 2106
-@UNIXONLY@ PORT = 2087
+UNIX_MATCH_UID = NO
+UNIX_MATCH_GID = YES
+HOSTNAME = localhost
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
+# PORT = 2119
+@UNIXONLY@ PORT = 2119
 
+# This is the timeinterval between the rounds
+ROUNDINTERVAL = 30 s
+
+# This is the file in which valid peers are stored
+FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
+# Disable storage of valid peers
+#FILENAME_VALID_PEERS = DISABLE
+
+# This is the 'estimate' in the beginning.
+# This determines the size of the peers we keep in memory
+# until we receive the first estimate from NSE.
+# Keep in mind, that (networksize)^(1/3) should be enough.
+# So, 50 is enough for a network of size 50^3 = 125000
+INITSIZE = 10