diff options
author | Hans-Christoph Steiner <hans@eds.org> | 2019-11-27 12:59:04 +0100 |
---|---|---|
committer | Hans-Christoph Steiner <hans@eds.org> | 2019-12-10 16:06:53 +0100 |
commit | 9c86f54ba07355a968f982aed295e8b6597b4b89 (patch) | |
tree | fe2954f48bbcf92ff2f7394210ebd00701a7f3d8 /guard-spec.txt | |
parent | 68437951a3f758475d24b872c5b66c6f227b3ae5 (diff) | |
download | torspec-9c86f54ba07355a968f982aed295e8b6597b4b89.tar.gz torspec-9c86f54ba07355a968f982aed295e8b6597b4b89.zip |
convert text blocks into widely compatible "blockquote" syntax
This only adds newline characters to make the existing text blocks act like
"blockquote" or "code block" syntax in Markdown, asciidoc, and others.
This was accomplished by manually reviewing the output of this script:
```bash
for f in *.txt; do
cat $f | python -c "import sys,re;print(re.sub(r'(\n {0,3}[^ \n][^\n]*\n)( {4,}[^\n]*)', r'\1\n\2', sys.stdin.read()))" > ${f}.tmp
mv ${f}.tmp $f
done
```
Diffstat (limited to 'guard-spec.txt')
-rw-r--r-- | guard-spec.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guard-spec.txt b/guard-spec.txt index 4f2e3d3..db1ae32 100644 --- a/guard-spec.txt +++ b/guard-spec.txt @@ -268,6 +268,7 @@ We maintain another set, {set:FILTERED_GUARDS}, that does not persist. It is derived from: + - {SAMPLED_GUARDS} - our current configuration, - the path bias information. @@ -417,6 +418,7 @@ 4.6. Selecting guards for circuits. [Section:SELECTING] Every origin circuit is now in one of these states: + <state:usable_on_completion>, <state:usable_if_no_better_guard>, <state:waiting_for_better_guard>, or @@ -494,6 +496,7 @@ We're getting to the core of the algorithm here. Our main goals are to make sure that + 1. If it's possible to use a primary guard, we do. 2. We probably use the first primary guard. |