node: Add connection limits

The limits are roughly modeled after the Bitcoin network.
This commit is contained in:
Alexis Sellier
2024-03-08 23:24:34 +01:00
committed by cloudhead
parent 3834213ca0
commit ee95b90999
+4
View File
@@ -105,6 +105,10 @@ mod routes {
"fillRate": 1.0,
"capacity": 64
}
},
"connection": {
"inbound": 128,
"outbound": 16
}
},
"policy": "block",