aboutsummaryrefslogtreecommitdiff
path: root/spec/path-spec/cannibalizing-circuits.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/path-spec/cannibalizing-circuits.md')
-rw-r--r--spec/path-spec/cannibalizing-circuits.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/path-spec/cannibalizing-circuits.md b/spec/path-spec/cannibalizing-circuits.md
new file mode 100644
index 0000000..3987839
--- /dev/null
+++ b/spec/path-spec/cannibalizing-circuits.md
@@ -0,0 +1,15 @@
+<a id="path-spec.txt-2.3"></a>
+
+# Cannibalizing circuits
+
+If we need a circuit and have a clean one already established, in
+some cases we can adapt the clean circuit for our new
+purpose. Specifically,
+
+For hidden service interactions, we can "cannibalize" a clean internal
+circuit if one is available, so we don't need to build those circuits
+from scratch on demand.
+
+We can also cannibalize clean circuits when the client asks to exit
+at a given node -- either via the ".exit" notation or because the
+destination is running at the same location as an exit node.