[tor-commits] [tor/master] Document sr-random and diff-cache.

nickm at torproject.org nickm at torproject.org
Fri Jun 16 18:44:09 UTC 2017


commit b4c9eb0aab5581c1acb21d2e0e0f3fbb9c57d0b0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Jun 16 14:44:04 2017 -0400

    Document sr-random and diff-cache.
---
 changes/more-files |  3 +++
 doc/tor.1.txt      | 11 +++++++++++
 2 files changed, 14 insertions(+)

diff --git a/changes/more-files b/changes/more-files
new file mode 100644
index 0000000..f416201
--- /dev/null
+++ b/changes/more-files
@@ -0,0 +1,3 @@
+  o Documentation:
+    - Document the "sr-random" file and "diff-cache" directory in the Tor
+      data directory.
\ No newline at end of file
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 7544c03..9fd8a97 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -2724,6 +2724,17 @@ __DataDirectory__**/state**::
             - A short history of bandwidth usage, as produced in the server
             descriptors.
 
+__DataDirectory__**/sr-state**::
+    Authority only. State file used to record information about the current
+    status of the shared-random-value voting state.
+
+__DataDirectory__**/diff-cache**::
+    Directory cache only. Holds older consensuses, and diffs from older
+    consensuses to the most recent consensus of each type, compressed
+    in various ways. Each file contains a set of key-value arguments
+    decribing its contents, followed by a single NUL byte, followed by the
+    main file contents.
+
 __DataDirectory__**/bw_accounting**::
     Used to track bandwidth accounting values (when the current period starts
     and ends; how much has been read and written so far this period). This file



More information about the tor-commits mailing list