diff options
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 0a961bf..9f0fec0 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -143,7 +143,7 @@ static void PrintUsage() | |||
| 143 | printf(" /onionservice=HOST.onion:PORT (advertise this node's Tor hidden service)\n"); | 143 | printf(" /onionservice=HOST.onion:PORT (advertise this node's Tor hidden service)\n"); |
| 144 | printf("\n"); | 144 | printf("\n"); |
| 145 | printf("Network:\n"); | 145 | printf("Network:\n"); |
| 146 | printf(" /testnet (isolated test network datadir, port, and magic)\n"); | 146 | printf(" /testnet (isolated test network genesis, datadir, port, and magic)\n"); |
| 147 | printf(" /port=N (P2P listen port, default 8433; testnet 18433)\n"); | 147 | printf(" /port=N (P2P listen port, default 8433; testnet 18433)\n"); |
| 148 | printf(" /socks=HOST:PORT (SOCKS5 proxy for Nostr, .btf relay, and onion dials)\n"); | 148 | printf(" /socks=HOST:PORT (SOCKS5 proxy for Nostr, .btf relay, and onion dials)\n"); |
| 149 | printf(" /tor[=HOST:PORT] (Tor mode; default SOCKS5 proxy is 127.0.0.1:9050)\n"); | 149 | printf(" /tor[=HOST:PORT] (Tor mode; default SOCKS5 proxy is 127.0.0.1:9050)\n"); |
| @@ -206,7 +206,8 @@ static void ParseStartupArguments(int argc, char* argv[]) | |||
| 206 | if (arg(argc,argv,"/datadir") || arg(argc,argv,"-datadir")) | 206 | if (arg(argc,argv,"/datadir") || arg(argc,argv,"-datadir")) |
| 207 | strSetDataDir = argval2(argc, argv, "/datadir", "-datadir"); | 207 | strSetDataDir = argval2(argc, argv, "/datadir", "-datadir"); |
| 208 | 208 | ||
| 209 | SelectNetworkParams(arg(argc, argv, "/testnet") || arg(argc, argv, "-testnet")); | 209 | bool fUseTestNet = arg(argc, argv, "/testnet") || arg(argc, argv, "-testnet"); |
| 210 | SelectChainParams(fUseTestNet); | ||
| 210 | 211 | ||
| 211 | if (arg(argc,argv,"/debug") || arg(argc,argv,"-debug")) | 212 | if (arg(argc,argv,"/debug") || arg(argc,argv,"-debug")) |
| 212 | fDebug = true; | 213 | fDebug = true; |