aboutsummaryrefslogtreecommitdiff
path: root/src/contrib/service/rps/rps.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/service/rps/rps.conf.in')
-rw-r--r--src/contrib/service/rps/rps.conf.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/contrib/service/rps/rps.conf.in b/src/contrib/service/rps/rps.conf.in
new file mode 100644
index 000000000..8c7098747
--- /dev/null
+++ b/src/contrib/service/rps/rps.conf.in
@@ -0,0 +1,38 @@
1[rps]
2START_ON_DEMAND = @START_ON_DEMAND@
3IMMEDIATE_START = YES
4BINARY = gnunet-service-rps
5UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-rps.sock
6HOME = $SERVICEHOME
7UNIX_MATCH_UID = NO
8UNIX_MATCH_GID = YES
9HOSTNAME = localhost
10ACCEPT_FROM = 127.0.0.1;
11ACCEPT_FROM6 = ::1;
12# PORT = 2119
13@UNIXONLY@ PORT = 2119
14
15# This is the timeinterval between the rounds
16ROUNDINTERVAL = 30 s
17
18# This is the file in which valid peers are stored
19FILENAME_VALID_PEERS = $GNUNET_DATA_HOME/rps/valid_peers.txt
20# Disable storage of valid peers
21#FILENAME_VALID_PEERS = DISABLE
22
23# This is the 'estimate' in the beginning.
24# This determines the size of the peers we keep in memory
25# until we receive the first estimate from NSE.
26# Keep in mind, that (networksize)^(1/3) should be enough.
27# So, 50 is enough for a network of size 50^3 = 125000
28MINSIZE = 10
29
30# The probability with which we want a sampler element to have observed all
31# peer ids in the network at least
32DESIRED_PROBABILITY = 0.9
33
34# A factor that catches the 'bias' of a random stream of peer ids.
35#
36# As introduced by Brahms: Factor between the number of unique ids in a
37# truly random stream and number of unique ids in the gossip stream.
38DEFICIENCY_FACTOR = 0.4