From e5faad5d058f58f621f90e50073c222b18e6e2fd Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Thu, 11 Feb 2016 11:09:40 +0100 Subject: [PATCH] Add new seednodes for v0.3.5 --- doc/build.md | 1 + .../p2p/seed/SeedNodesRepository.java | 29 ++++++++++++++----- 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/doc/build.md b/doc/build.md index ddb1575465..98a08b9a60 100644 --- a/doc/build.md +++ b/doc/build.md @@ -108,6 +108,7 @@ Once the hidden service is published (check console output) quit the seed node a Alternatively you can navigate to the application directory and open Bitsquare_seed_node_xxxxxxx.onion_8002/tor/hiddenservice/hostname. use that hidden service address also to rename the xxxxxxx placeholder of your Bitsquare_seed_node_xxxxxxx.onion_8002 directory. Start again the SeedNode.jar now with the correct hidden service address. +Instructions are also at the SeedNodesRepository class. Here are example program arguments for using regtest and using the Tor network: diff --git a/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java b/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java index bde06df46b..e730249e53 100644 --- a/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java +++ b/network/src/main/java/io/bitsquare/p2p/seed/SeedNodesRepository.java @@ -15,29 +15,44 @@ public class SeedNodesRepository { // testnet use port 8001 // regtest use port 8002 private Set torSeedNodeAddresses = Sets.newHashSet( + // In alpha we change the network with new releases. That will be faded out once we become backwards compatible (Beta) + + // We keep 1 seed node running for the last 2 mainnet versions, just in case a user has not updated and need to + // access still his his app + // mainnet // v0.3.3 - /* new NodeAddress("oyyii5ogv7y7iadi.onion:8000"), + /* new NodeAddress("oyyii5ogv7y7iadi.onion:8000"), new NodeAddress("ugcro2f5xnkguash.onion:8000"), new NodeAddress("qarhpdsl6mfhbnud.onion:8000"),*/ // v0.3.4 - new NodeAddress("lih5zsr2bvxi24pk.onion:8000"), + /* new NodeAddress("lih5zsr2bvxi24pk.onion:8000"), new NodeAddress("s5xpstlooosehtxm.onion:8000"), - new NodeAddress("izs5oz7i5ta7c2ir.onion:8000"), - + new NodeAddress("izs5oz7i5ta7c2ir.onion:8000"),*/ + + // v0.3.5 + new NodeAddress("que4ysbd2qazkb7d.onion:8000"), + new NodeAddress("h2crs2j5huhclkc6.onion:8000"), + new NodeAddress("7a3sj4j6yw5oukai.onion:8000"), + // testnet new NodeAddress("znmy44wcstn2rkva.onion:8001"), - new NodeAddress("zvn7umikgxml6x6h.onion:8001"), - new NodeAddress("wnfxmrmsyeeos2dy.onion:8001"), + /* new NodeAddress("zvn7umikgxml6x6h.onion:8001"), + new NodeAddress("wnfxmrmsyeeos2dy.onion:8001"),*/ // regtest + // For development you need to change that to your local onion addresses + // 1. Run a seed node with prog args: rxdkppp3vicnbgqt.onion:8002 2 50 + // 2. Find your local onion address in Bitsquare_seed_node_rxdkppp3vicnbgqt.onion_8002/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") new NodeAddress("rxdkppp3vicnbgqt.onion:8002"), new NodeAddress("brmbf6mf67d2hlm4.onion:8002"), new NodeAddress("mfla72c4igh5ta2t.onion:8002") ); - private Set localhostSeedNodeAddresses = Sets.newHashSet( // mainnet new NodeAddress("localhost:2000"),