summaryrefslogtreecommitdiff
path: root/src/common/torlog.h
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2017-03-07 09:58:30 -0500
committerNick Mathewson <nickm@torproject.org>2017-03-16 14:38:28 -0400
commit590ffdb2c9e0e3516fdb113cfa8b7a3f888cb970 (patch)
tree0bb50228fe7e15d7e31f81fba3cc7ba789aafaf2 /src/common/torlog.h
parentad19f1507ac3bfd4b26ae478e61c8ef8c4057f22 (diff)
downloadtor-590ffdb2c9e0e3516fdb113cfa8b7a3f888cb970.tar.gz
tor-590ffdb2c9e0e3516fdb113cfa8b7a3f888cb970.zip
Consensus diff backend from Daniel Martí GSOC project.
(This commit was extracted by nickm based on the final outcome of the project, taking only the changes in the files touched by this commit from the consdiff_rebased branch. The directory-system changes are going to get worked on separately.)
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r--src/common/torlog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h
index bc957858d9..a56f5a8f1a 100644
--- a/src/common/torlog.h
+++ b/src/common/torlog.h
@@ -101,8 +101,10 @@
#define LD_SCHED (1u<<22)
/** Guard nodes */
#define LD_GUARD (1u<<23)
+/** Generation and application of consensus diffs. */
+#define LD_CONSDIFF (1u<<24)
/** Number of logging domains in the code. */
-#define N_LOGGING_DOMAINS 24
+#define N_LOGGING_DOMAINS 25
/** This log message is not safe to send to a callback-based logger
* immediately. Used as a flag, not a log domain. */