Ensure --dynamic-port-range is wide enough

This commit is contained in:
Michael Vines
2020-04-14 12:00:36 -07:00
parent 892e425d87
commit 83a96c557d
2 changed files with 13 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ use std::{
};
pub const VALIDATOR_PORT_RANGE: PortRange = (8000, 10_000);
pub const MINIMUM_VALIDATOR_PORT_RANGE_WIDTH: u16 = 10; // VALIDATOR_PORT_RANGE must be at least this wide
/// The Data plane fanout size, also used as the neighborhood size
pub const DATA_PLANE_FANOUT: usize = 200;