Unlimited mask_relay_max_bytes

This commit is contained in:
Alexey
2026-04-21 11:30:58 +03:00
parent 1e5b84c0ed
commit 09310ff284
3 changed files with 22 additions and 30 deletions

View File

@@ -640,12 +640,6 @@ impl ProxyConfig {
));
}
if config.censorship.mask_relay_max_bytes == 0 {
return Err(ProxyError::Config(
"censorship.mask_relay_max_bytes must be > 0".to_string(),
));
}
if config.censorship.mask_relay_max_bytes > 67_108_864 {
return Err(ProxyError::Config(
"censorship.mask_relay_max_bytes must be <= 67108864".to_string(),