Constant tor_netdir::params::CHANNEL_PADDING_TIMEOUT_UPPER_BOUND

source ยท
pub const CHANNEL_PADDING_TIMEOUT_UPPER_BOUND: i32 = 60_000;
Expand description

Upper limit for channel padding timeouts

This is just a safety catch which might help prevent integer overflow, and also might prevent a client getting permantently stuck in a state where it ought to send padding but never does.

The actual value is stolen from C Tor as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/586#note_2813638 pending an update to the specifications https://gitlab.torproject.org/tpo/core/torspec/-/issues/120