Skip to content

Commit

Permalink
bump up the MINIMUM_VALIDATOR_PORT_RANGE_WIDTH for vote using quic (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs authored Nov 9, 2024
1 parent f0d7e4f commit a1c01a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct UdpSocketPair {
pub type PortRange = (u16, u16);

pub const VALIDATOR_PORT_RANGE: PortRange = (8000, 10_000);
pub const MINIMUM_VALIDATOR_PORT_RANGE_WIDTH: u16 = 16; // VALIDATOR_PORT_RANGE must be at least this wide
pub const MINIMUM_VALIDATOR_PORT_RANGE_WIDTH: u16 = 17; // VALIDATOR_PORT_RANGE must be at least this wide

pub(crate) const HEADER_LENGTH: usize = 4;
pub(crate) const IP_ECHO_SERVER_RESPONSE_LENGTH: usize = HEADER_LENGTH + 23;
Expand Down

0 comments on commit a1c01a8

Please sign in to comment.