Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 7fa178a

Browse files
committed
Return maxOfferConcurrency, offerBackoffLimit, and doNotTraverseNat for the time being
1 parent 5be7af4 commit 7fa178a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

example/farmer.config.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"0f02020202",
99
"0f03020202"
1010
],
11+
// Limits the number of pending OFFER message at one time
12+
"maxOfferConcurrency": 3,
1113
// If the seedList is empty, use this bridge to discover seeds
1214
// Following a transfer, also send an exchange report to this bridge
1315
"bridgeUri": "https://api.storj.io",
@@ -21,12 +23,12 @@
2123
// Port to bind for RPC server, make sure this is forwarded if behind a
2224
// NAT or firewall - otherwise Storj Share will try to punch out
2325
"rpcPort": 4000,
24-
// doNotTraverseNat: false requires you to have an external ip address.
26+
// doNotTraverseNat: true requires you to have an external ip address.
2527
// You can use a proxy to gain an external IP address.
26-
// doNotTraverseNat: true Enables NAT traversal strategies
28+
// doNotTraverseNat: false Enables NAT traversal strategies
2729
// first UPnP, then reverse HTTP tunnel
2830
// if that fails. Disable if you are public or using dynamic DNS
29-
"doNotTraverseNat": true,
31+
"doNotTraverseNat": false,
3032
// Maximum number of tunnels to provide to the network
3133
// Tunnels help nodes with restrictive network configurations participate
3234
"maxTunnels": 3,
@@ -43,6 +45,9 @@
4345
"times": 3,
4446
"interval": 5000
4547
},
48+
// Temporarily stop sending OFFER messages if more than this number of shard
49+
// transfers are active
50+
"offerBackoffLimit": 4,
4651
// ECDSA private key for your network identity, your Node ID is derived from
4752
// this and it is used to sign and verify messages
4853
"networkPrivateKey": "",

0 commit comments

Comments
 (0)