mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
limit tunnel length to 8 hops
This commit is contained in:
parent
2bc0850b0f
commit
8f25b66760
2 changed files with 4 additions and 3 deletions
|
@ -37,7 +37,8 @@ namespace tunnel
|
|||
const int TUNNEL_RECREATION_THRESHOLD = 90; // 1.5 minutes
|
||||
const int TUNNEL_CREATION_TIMEOUT = 30; // 30 seconds
|
||||
const int STANDARD_NUM_RECORDS = 4; // in VariableTunnelBuild message
|
||||
|
||||
const int MAX_NUM_RECORDS = 8;
|
||||
|
||||
enum TunnelState
|
||||
{
|
||||
eTunnelStatePending,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue