diff --git a/storage/conf.nim b/storage/conf.nim index 406615e7..af9e871e 100644 --- a/storage/conf.nim +++ b/storage/conf.nim @@ -313,6 +313,12 @@ type name: "nat-min-confidence" .}: float + natMaxRelays* {. + desc: "Maximum number of relay servers to reserve slots on simultaneously", + defaultValue: 2, + name: "nat-max-relays" + .}: int + func defaultAddress*(conf: StorageConf): IpAddress = result = static parseIpAddress("127.0.0.1")