gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26546 - gnunet/src/consensus


From: gnunet
Subject: [GNUnet-SVN] r26546 - gnunet/src/consensus
Date: Thu, 21 Mar 2013 15:16:40 +0100

Author: grothoff
Date: 2013-03-21 15:16:40 +0100 (Thu, 21 Mar 2013)
New Revision: 26546

Modified:
   gnunet/src/consensus/Makefile.am
   gnunet/src/consensus/consensus_flout.h
Log:
-enable evil

Modified: gnunet/src/consensus/Makefile.am
===================================================================
--- gnunet/src/consensus/Makefile.am    2013-03-21 14:08:37 UTC (rev 26545)
+++ gnunet/src/consensus/Makefile.am    2013-03-21 14:16:40 UTC (rev 26546)
@@ -23,6 +23,12 @@
 libexec_PROGRAMS = \
  gnunet-service-consensus
 
+# FIXME: add option "configure --with-evil"?
+if HAVE_EXPERIMENTAL
+libexec_PROGRAMS += \
+ gnunet-service-evil-consensus
+endif
+
 lib_LTLIBRARIES = \
   libgnunetconsensus.la
 
@@ -63,6 +69,17 @@
   $(top_builddir)/src/mesh/libgnunetmesh.la \
   $(GN_LIBINTL)
 
+gnunet_service_evil_consensus_SOURCES = \
+ gnunet-service-consensus.c \
+ ibf.c
+gnunet_service_evil_consensus_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/core/libgnunetcore.la \
+  $(top_builddir)/src/stream/libgnunetstream.la \
+  $(top_builddir)/src/mesh/libgnunetmesh.la \
+  $(GN_LIBINTL)
+gnunet_service_evil_consensus_CFLAGS = -DEVIL
+
 libgnunetconsensus_la_SOURCES = \
   consensus_api.c
 libgnunetconsensus_la_LIBADD = \

Modified: gnunet/src/consensus/consensus_flout.h
===================================================================
--- gnunet/src/consensus/consensus_flout.h      2013-03-21 14:08:37 UTC (rev 
26545)
+++ gnunet/src/consensus/consensus_flout.h      2013-03-21 14:16:40 UTC (rev 
26546)
@@ -46,7 +46,7 @@
 GNUNET_CONSENSUS_flout_ignore_element_hash (struct GNUNET_CONSENSUS_Handle 
*consensus, struct GNUNET_HashCode *element_hash);
 
 void
-GNUNET_CONSENSUS_flout_ignore_element_hash (struct GNUNET_CONSENSUS_Handle 
*consensus, struct GNUNET_HashCode *element_hash);
+GNUNET_CONSENSUS_flout_send_bogos_ibf (struct GNUNET_CONSENSUS_Handle 
*consensus, ...);
 
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]