fold plan into readme

This commit is contained in:
Nick Mathewson 2020-05-07 20:05:47 -04:00
parent d0af946b9b
commit 4c56b955a1
2 changed files with 9 additions and 23 deletions

View File

@ -102,6 +102,15 @@ tor-proto
of the Tor protocol. Underdocumented, too big, needs
refactoring.
## Intended architecture
I'm hoping to have small, optional, separable pieces here. For everything
I'm writing, I'm hoping it can go behind a configuration flag.
I'm also hoping to focus on everything that _isn't_ the network first. I'd
like as little code as possible to actually read and write to the network,
and as much code as possible to pretend that the network doesn't exist. I
hope this will make everything easier to test.
## Licence

View File

@ -1,23 +0,0 @@
be agile in use of other crates, but kinda flexible in main coding.
guess those mean the same.
instead, "make sure our dependencies on particular implementations of things
are not hard to replace", and "assume we will refactor or rewrite everything
we do."
==========
what architecture am I aiming for? I'm hoping for a layer that is
no-network, that doesn't even have a "network" as a thing in it. That means
it's going to have to have lots of encoding/decoding stuff, and maybe the
crypto, and possibly it can handle a little state, but big state will be hard
Hm. This could actually help though. There are circuits and streams and
channels and they none of them need to actually "connect" until a different
layer. That would kinda rock, even.