diff options
Diffstat (limited to 'src/contrib/service/rps/rps.conf.in')
-rw-r--r-- | src/contrib/service/rps/rps.conf.in | 38 |
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] | ||
2 | START_ON_DEMAND = @START_ON_DEMAND@ | ||
3 | IMMEDIATE_START = YES | ||
4 | BINARY = gnunet-service-rps | ||
5 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-rps.sock | ||
6 | HOME = $SERVICEHOME | ||
7 | UNIX_MATCH_UID = NO | ||
8 | UNIX_MATCH_GID = YES | ||
9 | HOSTNAME = localhost | ||
10 | ACCEPT_FROM = 127.0.0.1; | ||
11 | ACCEPT_FROM6 = ::1; | ||
12 | # PORT = 2119 | ||
13 | @UNIXONLY@ PORT = 2119 | ||
14 | |||
15 | # This is the timeinterval between the rounds | ||
16 | ROUNDINTERVAL = 30 s | ||
17 | |||
18 | # This is the file in which valid peers are stored | ||
19 | FILENAME_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 | ||
28 | MINSIZE = 10 | ||
29 | |||
30 | # The probability with which we want a sampler element to have observed all | ||
31 | # peer ids in the network at least | ||
32 | DESIRED_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. | ||
38 | DEFICIENCY_FACTOR = 0.4 | ||