| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-dirauth: Calculate microdescriptors
See merge request tpo/core/arti!4264
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This is actually quite simple now.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It doesn't actually use the value, but its call site is going to have
one of these, not a SupportedConsensusMethod.
|
| | | | | | |
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
No longer request "experimental" - we don't need it.
We do need "testing" but only for our own tests, so that can go in
dev-dependencies. Enable retain-unknown, which we'll need.
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
tor-proto: Fix cc vegas counter updates on clock stall
Closes #2651
See merge request tpo/core/arti!4256
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The pseudocode says:
```text
if next_cc_event:
next_cc_event--
if next_cwnd_event:
next_cwnd_event--
if clock_stalled_or_jumped:
inflight -= 'cc_sendme_inc'
return
```
but we were previously decrementing these after the return rather than
before.
|
| | | | |
| | | |
| | | |
| | | | |
We now have `add_relay_ent()` for this, so we can remove the TODO.
|
| | |/ /
|/| |
| | |
| | |
| | | |
I think this might have been c&p from the half-stream code ("hs" =
"half-stream"). "hc" ("half-circuit") seems like a better name.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-netdoc: Use TimeRangeBoundBuilder for verification
See merge request tpo/core/arti!4265
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
No functional change, please review with
--minimal --color-moved --color-moved-ws=allow-indentation-change.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit utilizes TimeRangeBoundBuilder for the verification of
router descriptors by replacing all calls of
`.dangerously_unwrap_timely()` with `.unwrap_with()`, while also
wrapping the actual logic inside a closure which is then called by
`TimeRangeBound::build_intersect()` in the end.
Keep in mind, that the replacement also leads to the removal of the
use of tuples, as `.unwrap_with()` only returns the actual item.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
arti-client: Update release date
See merge request tpo/core/arti!4269
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
```bash
bump=(caret equix fs-mistrust fslock-guard futures-copy oneshot-fused-workaround retry-error safelog slotmap-careful test-temp-dir web-time-compat)
./maint/bump-nodep "${bump[@]}"
```
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
```bash
cargo set-version --bump patch -p hashx
```
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
```bash
cargo set-version --bump patch -p arti
```
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
```bash
readarray -t bump < <(maint/list-crates | grep -P '^tor-|^arti-')
for crate in "${bump[@]}"; do cargo set-version --bump minor -p "${crate}"; done
```
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have decided that instead of "uniq_id" in logging, we'll use the
"<domaine>-[<type>]-id" syntax to indicate who is that unique ID.
This commit only renames circuit's unique ID to "circ_uniq_id".
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit only affects logging. Whenever possible, log both the UniqId
and CircId.
This also changes the log lines which is now "uniq_id=" and "circ_id="
as the UniqId is internal and circ_id (CircId) is protocol level.
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A CircId is now a circ_id and a UniqId is a unique_id so we stop
confusing them in the code.
Furthermore, channel_id that are CircId are now circ_id. Channel IDs are
different and encoded internally into a UniqId.
This is the first step to clarify semantic before we change the logging
to log both unique ID and circ ID.
No behavior change.
Signed-off-by: David Goulet <[email protected]>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I'm not actually sure what I did here. I was getting a lot of confusing
results from 'cargo sort' and 'maint/cargo-sort', so I ran a bunch of
commands until 'maint/cargo-sort' was okay. ('maint/cargo-sort' still
shows some errors, but not in arti-dirauth anymore.)
But as long as the 'maint/cargo-sort' in CI is okay with the changes,
then I think it's fine.
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
arti-dirauth: FilenameOrStdio: Allow incremental writing
See merge request tpo/core/arti!4253
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The calling convention for compute-mds will be easiest to implement if
we can write to the two output files in parallel.
So provide `start_writing` giving a `Writing`.
Unfortuantely this commit has quite a bit of reorganisation which is
difficult to make into something easily reviewable.
|
| | | | |
| | | |
| | | |
| | | | |
This makes the next commit infinitesimally less confusing.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This is a better name, and will suit us better when we reorganise this
code to allow incremental writing.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make this a doc comment.
We're going to add an entrypoint that makes this more likely.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-cell: Add missing semver.md entries
See merge request tpo/core/arti!4257
|
| | | | | |
| | | | |
| | | | |
| | | | | |
I forgot to add these during a previous MR.
|