summaryrefslogtreecommitdiff
path: root/src/feature/nodelist
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-24 14:52:44 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-24 15:25:26 -0400
commit6edf7f6710600962f95e7f5458787dbc5e5c7411 (patch)
tree454a59f034612315d7b4dc2536f8d99464831f4c /src/feature/nodelist
parentf9de0affd3f50d411e04bc1229525af2a14927fd (diff)
downloadtor-6edf7f6710600962f95e7f5458787dbc5e5c7411.tar.gz
tor-6edf7f6710600962f95e7f5458787dbc5e5c7411.zip
Add two new networkstatus parameters to emulate AssumeReachable.
These parameters do not suppress checks, but they tell relays that it's okay to publish even when those checks fail. I have chosen lowercase hyphenated names, since these seem to be more common in networkstatus params. Closes #33224 and part of #34064.
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r--src/feature/nodelist/networkstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c
index 010963cda4..f63d598ef7 100644
--- a/src/feature/nodelist/networkstatus.c
+++ b/src/feature/nodelist/networkstatus.c
@@ -1698,6 +1698,7 @@ notify_after_networkstatus_changes(void)
get_circuit_build_times_mutable(), c);
channelpadding_new_consensus_params(c);
circpad_new_consensus_params(c);
+ router_new_consensus_params(c);
}
/** Copy all the ancillary information (like router download status and so on)