Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orbea
Tor
Commits
34da5071
Commit
34da5071
authored
1 year ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
fix minor typos in conflux and pow areas
parent
e643a708
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/or/conflux_st.h
+4
-4
4 additions, 4 deletions
src/core/or/conflux_st.h
src/feature/hs/hs_pow.h
+1
-1
1 addition, 1 deletion
src/feature/hs/hs_pow.h
with
5 additions
and
5 deletions
src/core/or/conflux_st.h
+
4
−
4
View file @
34da5071
...
...
@@ -45,17 +45,17 @@ struct conflux_params_t {
struct
conflux_leg_t
{
/**
* For computing ooo_q insertion sequence numbers: Highest absolute
* sequence number rec
i
eved on each leg, before delivery.
* sequence number rece
i
ved on each leg, before delivery.
*
* As a rec
i
ever, this allows us to compute the absolute sequence number
* As a rece
i
ver, this allows us to compute the absolute sequence number
* of a cell for delivery or insertion into the ooo_q. When a SWITCH cell
* is rec
i
eved on a leg, the absolute sequence number of that cell is
* is rece
i
ved on a leg, the absolute sequence number of that cell is
* the relative sequence number in that cell, plus the absolute sequence
* number of that leg from this array. The leg's sequence number
* is then updated to this value immediately.
*
* In this way, we are able to assign absolute sequence numbers to cells
* immediately, regardless of how many legs or leg switches have ocurred,
* immediately, regardless of how many legs or leg switches have oc
c
urred,
* and regardless of the delivery status of each cell versus if it must be
* queued.
*/
...
...
This diff is collapsed.
Click to expand it.
src/feature/hs/hs_pow.h
+
1
−
1
View file @
34da5071
...
...
@@ -81,7 +81,7 @@ typedef struct hs_pow_solver_inputs_t {
uint8_t
seed
[
HS_POW_SEED_LEN
];
/** Blinded public ID for the onion service this puzzle is bound to */
ed25519_public_key_t
service_blinded_id
;
/** Effort chosen by the client. May be higher or ower than
/** Effort chosen by the client. May be higher or
l
ower than
* suggested_effort in the descriptor. */
uint32_t
effort
;
}
hs_pow_solver_inputs_t
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment