| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We want DirectorySignatureHashAlgo for prod's directory Signature
type.
However, for complex cfg gate and macro scoping reasons, we can't just
move the definition out of poc. Hence this rather unpleasant
intermediate state. This will go away, and become normal again, when
we can abolish poc's signatures and have poc use a prod signature
type.
Review with
git show --color=always --color-moved-ws=allow-indentation-change --color-moved
|
| |
|
|
| |
We're going to want this for sets of netdoc signature hashes.
|
| | |
|
| |
|
|
|
| |
We don't need this since RouterStatus no longer implements any sealed
traits.
|
| |
|
|
|
| |
(This will make the build more fragile, but it will also spot an
unnecessary allow.)
|
| |
|
|
|
|
|
| |
The methods in ParseRouterStatus can now be inherent.
This starts a cascade of unused stuff, and stuff which doesn't need to
be pub any more.
|
| | |
|
| |
|
|
| |
We're going to want this a bit more widely.
|
| | |
|
| |
|
|
|
|
|
| |
We can just make a new PauseAt, since it can take the inner peekable
iterator by mutable reference.
This seems to tidy the code up a bit too.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
There will be two call sites to demonstrate it.
Eventually maybe this will want to be in tor-basic-utils, since it
doesn't depend on any of the tor-netdoc types. But it would be
sensible to wait until the situation with PeekableIterator and
Itertools is improved.
For now we make this #[doc(hidden)] to avoid it becoming part of our
stable API.
|
| |
|
|
| |
Not xure how my MR to try to do this everyone missed this one.
|
| |
|
|
| |
Not xure how my MR to try to do this everyone missed this one.
|
| |
|
|
|
|
|
|
|
|
| |
Nothing in arti currently uses this document type. Eventually it
will be useful for relays and for bridge clients.
I've left the "SHA1 digest of a router descriptor" type available
unconditinoally, however, since it does get used in a few places.
Part of #125.
|
|
|
This will cause some pain for now, but now is really the best time
to do this kind of thing.
|