- fix use of uninitialized memory
[oweals/gnunet.git] / src / consensus / test_consensus.conf
index bcfdaba0f5c2683771ccbb3a09833effbfaf4fec..f8af4aa38e70dd99902b2bd4ddab255cbcd00666 100644 (file)
@@ -1,37 +1,52 @@
+#@INLINE@ ../../contrib/no_forcestart.conf
+
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-consensus/
+
 [consensus]
-AUTOSTART = YES
-PORT = 2110
-HOSTNAME = localhost
-HOME = $SERVICEHOME
-BINARY = gnunet-service-consensus
-#PREFIX = gdbserver :12345
-#PREFIX = valgrind --leak-check=full 
-ACCEPT_FROM = 127.0.0.1;
-ACCEPT_FROM6 = ::1;
-UNIXPATH = /tmp/gnunet-service-consensus.sock
-UNIX_MATCH_UID = YES
-UNIX_MATCH_GID = YES
+PREFIX = valgrind
 OPTIONS = -L INFO
+BINARY = gnunet-service-evil-consensus
 
+EVIL_SPEC = 0;cram;5
 
-[transport]
-OPTIONS = -LERROR
+# Evil behavior: Peer 0 adds 5 random elements when he is the gradecast leader
+# (every peer gets the same element.
+#EVIL_SPEC = 0;stuff-same;leader;5
 
+# Evil behavior: Peer 0 adds 5 random elements when he is the gradecast leader
+# (every peer gets different elements).
+#EVIL_SPEC = 0;stuff-different;leader;5
 
-[arm]
-DEFAULTSERVICES = core consensus set
+
+
+[core]
+FORECESTART = YES
+
+[cadet]
+#PREFIX = valgrind
+
+[transport]
+PLUGINS = unix
+OPTIONS = -LERROR
 
 [set]
 OPTIONS = -L INFO
 #PREFIX = valgrind --leak-check=full
-
+#PREFIX = valgrind
 
 [testbed]
 OVERLAY_TOPOLOGY = CLIQUE
+MAX_PARALLEL_OPERATIONS = 1000
+MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 100
+OPERATION_TIMEOUT = 60 s
+MAX_OPEN_FDS = 4096
 
 [hostlist]
-SERVERS = 
+AUTOSTART = NO
 
+[revocation]
+AUTOSTART = NO
 
 [nat]
 # Use addresses from the local network interfaces (inluding loopback, but also others)
@@ -44,5 +59,11 @@ DISABLEV6 = NO
 RETURN_LOCAL_ADDRESSES = YES
 
 [nse]
-AUTOSTART = NO
+WORKBITS=0
+
+[ats]
+WAN_QUOTA_IN = unlimited
+WAN_QUOTA_OUT = unlimited
 
+[core]
+USE_EPHEMERAL_KEYS = NO