diff --git a/contrib/sdl_checkpoints.pl b/contrib/sdl_checkpoints.pl index 4629054f1..9ae95d850 100755 --- a/contrib/sdl_checkpoints.pl +++ b/contrib/sdl_checkpoints.pl @@ -11,7 +11,7 @@ use warnings; use strict; # call this script like this to generate checkpoints for another chain: -# CLI=./src/dragonx-cli ./contrib/sdl_checkpoints.pl ... +# CLI="./src/dragonx-cli -ac_name=OTHERCHAIN" ./contrib/sdl_checkpoints.pl ... my $cli = $ENV{CLI} || "./src/dragonx-cli"; my $gethash = "$cli getblockhash"; diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 40ed1fe18..db9af8e64 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -311,7 +311,7 @@ Threads - ThreadMapPort : Universal plug-and-play startup/shutdown -- ThreadSocketHandler : Sends/Receives data from peers on the P2P port (18030 on DragonX mainnet). +- ThreadSocketHandler : Sends/Receives data from peers on the P2P port (21768 on DragonX mainnet). - ThreadOpenAddedConnections : Opens network connections to added nodes. diff --git a/doc/tor.md b/doc/tor.md index 674a9d0f7..cf70bfc1b 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -160,11 +160,11 @@ You can also manually configure your node to be reachable from the Tor network. Add these lines to your `/etc/tor/torrc` (or equivalent config file): HiddenServiceDir /var/lib/tor/dragonx-service/ - HiddenServicePort 18030 127.0.0.1:18032 + HiddenServicePort 21768 127.0.0.1:21768 The directory can be different of course, but virtual port numbers should be equal to -your dragonxd's P2P listen port (18030 by default), and target addresses and ports -should be equal to binding address and port for inbound Tor connections (127.0.0.1:18032 by default). +your dragonxd's P2P listen port (21768 by default), and target addresses and ports +should be equal to binding address and port for inbound Tor connections (127.0.0.1:21768 by default). -externalip=X You can tell dragonx about its publicly reachable addresses using this option, and this can be an onion address. Given the above @@ -204,7 +204,7 @@ as well, use `discover` instead: ./dragonxd ... -discover -and open port 18030 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`). +and open port 21768 on your firewall (or use port mapping, i.e., `-upnp` or `-natpmp`). If you only want to use Tor to reach .onion addresses, but not use it as a proxy for normal IPv4/IPv6 communication, use: