add constants for congestion levels

This commit is contained in:
Vort 2024-02-20 10:30:05 +02:00
parent a4a3f8e96b
commit 19e23b34da
5 changed files with 13 additions and 9 deletions

View file

@ -139,6 +139,10 @@ namespace tunnel
class TunnelPool;
}
const int CONGESTION_LEVEL_MEDIUM = 70;
const int CONGESTION_LEVEL_HIGH = 90;
const int CONGESTION_LEVEL_FULL = 100;
const size_t I2NP_MAX_MESSAGE_SIZE = 62708;
const size_t I2NP_MAX_SHORT_MESSAGE_SIZE = 4096;
const size_t I2NP_MAX_MEDIUM_MESSAGE_SIZE = 16384;