- fix use of uninitialized memory
[oweals/gnunet.git] / src / consensus / test_consensus.conf
index 67935e69a804dd62c12f73278055ba47f6d5d1f5..f8af4aa38e70dd99902b2bd4ddab255cbcd00666 100644 (file)
@@ -1,9 +1,33 @@
+#@INLINE@ ../../contrib/no_forcestart.conf
+
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-consensus/
+
 [consensus]
-#PREFIX = gdbserver :12345
-#PREFIX = valgrind
+PREFIX = valgrind
 OPTIONS = -L INFO
+BINARY = gnunet-service-evil-consensus
+
+EVIL_SPEC = 0;cram;5
+
+# 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
+
+
+
+[core]
+FORECESTART = YES
+
+[cadet]
+#PREFIX = valgrind
 
 [transport]
+PLUGINS = unix
 OPTIONS = -LERROR
 
 [set]
@@ -13,9 +37,16 @@ OPTIONS = -L INFO
 
 [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)
@@ -27,3 +58,12 @@ DISABLEV6 = NO
 # Do we use addresses from localhost address ranges? (::1, 127.0.0.0/8)
 RETURN_LOCAL_ADDRESSES = YES
 
+[nse]
+WORKBITS=0
+
+[ats]
+WAN_QUOTA_IN = unlimited
+WAN_QUOTA_OUT = unlimited
+
+[core]
+USE_EPHEMERAL_KEYS = NO