spell consensus more right in comments

This commit is contained in:
Roger Dingledine 2020-03-27 02:56:59 -04:00
parent a4304c6031
commit f8ecf01cc1
3 changed files with 6 additions and 6 deletions

View File

@ -188,7 +188,7 @@ guardfraction_file_parse_inputs_line(const char *inputs_line,
*
* guardfraction-file-version 1
* written-at <date and time>
* n-inputs <number of consesuses parsed> <number of days considered>
* n-inputs <number of consensuses parsed> <number of days considered>
*
* guard-seen <fpr 1> <guardfraction percentage> <consensus appearances>
* guard-seen <fpr 2> <guardfraction percentage> <consensus appearances>

View File

@ -2167,7 +2167,7 @@ networkstatus_set_current_consensus(const char *consensus,
warn_early_consensus(c, flavor, now);
/* We got a new consesus. Reset our md fetch fail cache */
/* We got a new consensus. Reset our md fetch fail cache */
microdesc_reset_outdated_dirservers_list();
router_dir_info_changed();

View File

@ -748,8 +748,8 @@ v3_authority_check_key_expiry(void)
}
/** Get the lifetime of an onion key in days. This value is defined by the
* network consesus parameter "onion-key-rotation-days". Always returns a value
* between <b>MIN_ONION_KEY_LIFETIME_DAYS</b> and
* network consensus parameter "onion-key-rotation-days". Always returns a
* value between <b>MIN_ONION_KEY_LIFETIME_DAYS</b> and
* <b>MAX_ONION_KEY_LIFETIME_DAYS</b>.
*/
static int
@ -763,7 +763,7 @@ get_onion_key_rotation_days_(void)
}
/** Get the current lifetime of an onion key in seconds. This value is defined
* by the network consesus parameter "onion-key-rotation-days", but the value
* by the network consensus parameter "onion-key-rotation-days", but the value
* is converted to seconds.
*/
int
@ -773,7 +773,7 @@ get_onion_key_lifetime(void)
}
/** Get the grace period of an onion key in seconds. This value is defined by
* the network consesus parameter "onion-key-grace-period-days", but the value
* the network consensus parameter "onion-key-grace-period-days", but the value
* is converted to seconds.
*/
int