#define MIN_SUPPORTED_CONSENSUS_METHOD 13
/** The highest consensus method that we currently support. */
--#define MAX_SUPPORTED_CONSENSUS_METHOD 19
++#define MAX_SUPPORTED_CONSENSUS_METHOD 20
/** Lowest consensus method where microdesc consensuses omit any entry
* with no microdesc. */
* microdescriptors. */
#define MIN_METHOD_FOR_ID_HASH_IN_MD 18
-#define MIN_METHOD_FOR_GUARDFRACTION 19
+/** Lowest consensus method where we include "package" lines*/
+#define MIN_METHOD_FOR_PACKAGE_LINES 19
+
+ /** Lowest consensus method where authorities may include
+ * GuardFraction information in microdescriptors. */
++#define MIN_METHOD_FOR_GUARDFRACTION 20
+
/** Default bandwidth to clip unmeasured bandwidths to using method >=
-- * MIN_METHOD_TO_CLIP_UNMEASURED_BW */
++ * MIN_METHOD_TO_CLIP_UNMEASURED_BW. (This is not a consensus method; do not
++ * get confused with the above macros.) */
#define DEFAULT_MAX_UNMEASURED_BW_KB 20
void dirvote_free_all(void);
src/test/test_status.c \
src/test/test_threads.c \
src/test/test_util.c \
+ src/test/test_helpers.c \
src/test/testing_common.c \
+ src/test/testhelper.c \
src/ext/tinytest.c
src_test_test_slow_SOURCES = \
noinst_HEADERS+= \
src/test/fakechans.h \
src/test/test.h \
+ src/test/testhelper.h \
+ src/test/test_helpers.h \
src/test/test_descriptors.inc \
src/test/example_extrainfo.inc \
src/test/failing_routerdescs.inc \
--- /dev/null
+#ifndef TOR_TEST_HELPER_H
+#define TOR_TEST_HELPER_H
+
+/* Number of descriptors contained in test_descriptors.txt. */
+#define HELPER_NUMBER_OF_DESCRIPTORS 8
+
+void helper_setup_fake_routerlist(void);
+
++extern const char TEST_DESCRIPTORS[];
++
+#endif
+