From d9f9baf87abea31a5ea27f95b8441b730f53d8cc Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Thu, 7 Mar 2019 11:29:56 -0500 Subject: [PATCH] Update comments --- core/src/main/resources/btc_regtest.seednodes | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/core/src/main/resources/btc_regtest.seednodes b/core/src/main/resources/btc_regtest.seednodes index 7ac6b175da..caa87710d6 100644 --- a/core/src/main/resources/btc_regtest.seednodes +++ b/core/src/main/resources/btc_regtest.seednodes @@ -1,9 +1,16 @@ -# For development you need to change that to your local onion addresses -# 1. Run a seed node with prog args: --bitcoinNetwork=regtest --nodePort=8002 --appName=bisq_seed_node_localhost_8002 -# 2. Find your local onion address in bisq_seed_node_rxdkppp3vicnbgqt.onion_8002/regtest/tor/hiddenservice/hostname +# By default developers use either port 2002 or 3002 or both as local seed nodes. If they want to use regtest +# with Tor they have to add a program argument to pass the custom onion address of the local Tor seed node. +# E.g. --seedNodes=YOUR_ONION.onion:2002 + +# To create your local onion addresses follow those steps: +# 1. Run a seed node with prog args: --bitcoinNetwork=regtest --nodePort=2002 --appName=bisq_seed_node_localhost_YOUR_ONION +# 2. Find your local onion address in bisq_seed_node_localhost_YOUR_ONION/regtest/tor/hiddenservice/hostname # 3. Shut down the seed node -# 4. Rename the directory with your local onion address -# 5. Edit here your found onion address (new NodeAddress("YOUR_ONION.onion:8002") +# 4. Rename YOUR_ONION at the directory with your local onion address as well as the appName program argument to reflect +# the real onion address. +# 5. Start the seed node again +# 6. Start the Bisq app which wants to connect to that seed node with program argument `--seedNodes=YOUR_ONION.onion:2002` + # nodeaddress.onion:port [(@owner)] localhost:2002