- fix use of uninitialized memory
[oweals/gnunet.git] / src / consensus / test_consensus.conf
index 71711b0e189195fe90aaf8f2d805d8b6c3cf525d..f8af4aa38e70dd99902b2bd4ddab255cbcd00666 100644 (file)
@@ -1,20 +1,46 @@
-@INLINE@ ../../contrib/no_forcestart.conf
+#@INLINE@ ../../contrib/no_forcestart.conf
+
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-consensus/
 
 [consensus]
-#PREFIX = gdbserver :12345
 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]
 OPTIONS = -L INFO
 #PREFIX = valgrind --leak-check=full
-PREFIX = valgrind
+#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]
 AUTOSTART = NO
@@ -32,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