pub fn validate_bandwidth(bandwidth_kbps: u64) -> Result<()>
Expand description
Validates bandwidth values to prevent overflow and unrealistic values
ยงSecurity Considerations
- Prevents integer overflow in calculations
- Ensures reasonable bounds for bandwidth values
- Blocks obviously malicious or unrealistic inputs