upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

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