limit tunnel length to 8 hops

This commit is contained in:
orignal 2021-01-14 11:24:03 -05:00
parent 2bc0850b0f
commit 8f25b66760
2 changed files with 4 additions and 3 deletions

View file

@ -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,