aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore.conf.in
blob: a9c928c66483f7f70a4359d7ca7ec19cc9a9017b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[namestore]
START_ON_DEMAND = @START_ON_DEMAND@
RUN_PER_USER = YES
UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
UNIX_MATCH_UID = NO
UNIX_MATCH_GID = YES
@UNIXONLY@ PORT = 2099
HOSTNAME = localhost
BINARY = gnunet-service-namestore
ACCEPT_FROM = 127.0.0.1;
ACCEPT_FROM6 = ::1;

# Which database should we use?
DATABASE = sqlite

# Should we optimize publishing record by caching the mapping
# from zone private keys to zone public keys in memory?
# (Set to NO if totally paranoid about keeping private keys
# in RAM longer than necessary.)
CACHE_KEYS = YES


[namestore-sqlite]
FILENAME = $GNUNET_DATA_HOME/namestore/sqlite.db

[namestore-heap]
FILENAME = $GNUNET_DATA_HOME/namestore/heap.db


[namestore-postgres]
# How to connect to the database
CONFIG = postgres:///gnunet
# Use temporary tables
TEMPORARY_TABLE = NO
# Use asynchronous commit (SET synchronous_commit TO OFF).
ASYNC_COMMIT = NO

[uri]
gns = gnunet-namestore -e 1a -u


[fcfsd]
# Name of the fcfs registration service binary (for ARM)
BINARY = gnunet-namestore-fcfsd
START_ON_DEMAND = NO
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-fcfsd.sock
RELATIVE_RECORD_EXPIRATION = 7 d

# On what port does the FCFS daemon listen for HTTP clients?
HTTPPORT = 18080