|
14 | 14 | #include "net.h" |
15 | 15 | #include "policy/policy.h" |
16 | 16 | #include "qt/guiconstants.h" |
| 17 | +#include "requestManager.h" |
17 | 18 | #include "script/sigcache.h" |
18 | 19 | #include "tinyformat.h" |
19 | 20 | #include "torcontrol.h" |
@@ -282,6 +283,9 @@ static void addConnectionOptions(AllowedArgs &allowedArgs) |
282 | 283 | _("Bind to given address and always listen on it. Use [host]:port notation for IPv6")) |
283 | 284 | .addArg("bitnodes", optionalBool, |
284 | 285 | _("Query for peer addresses via Bitnodes API, if low on addresses (default: 1 unless -connect)")) |
| 286 | + .addArg("blkretryinterval", requiredInt, |
| 287 | + strprintf(_("Time to wait before requesting a block from a different peer, in microseconds (default: %u)"), |
| 288 | + DEFAULT_MIN_BLK_REQUEST_RETRY_INTERVAL)) |
285 | 289 | .addArg("connect=<ip>", optionalStr, _("Connect only to the specified node(s)")) |
286 | 290 | .addArg("connect-thinblock=<ip:port>", requiredStr, |
287 | 291 | _("Connect to a thinblock node(s). Blocks will only be downloaded from a thinblock peer. If no " |
@@ -341,6 +345,9 @@ static void addConnectionOptions(AllowedArgs &allowedArgs) |
341 | 345 | .addArg("torcontrol=<ip>:<port>", requiredStr, |
342 | 346 | strprintf(_("Tor control port to use if onion listening enabled (default: %s)"), DEFAULT_TOR_CONTROL)) |
343 | 347 | .addArg("torpassword=<pass>", requiredStr, _("Tor control port password (default: empty)")) |
| 348 | + .addArg("txretryinterval", requiredInt, |
| 349 | + strprintf(_("Time to wait before requesting a tx from a different peer, in microseconds (default: %u)"), |
| 350 | + DEFAULT_MIN_TX_REQUEST_RETRY_INTERVAL)) |
344 | 351 | #ifdef USE_UPNP |
345 | 352 | #if USE_UPNP |
346 | 353 | .addArg("upnp", optionalBool, _("Use UPnP to map the listening port (default: 1 when listening and no -proxy)")) |
|
0 commit comments