mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-25 16:05:28 -04:00
Introduce io.bitsquare.network.Node#DEFAULT_PORT
This commit is contained in:
parent
ce5155ebdc
commit
da163bcc97
4 changed files with 14 additions and 7 deletions
|
@ -17,6 +17,8 @@
|
|||
|
||||
package io.bitsquare.msg;
|
||||
|
||||
import io.bitsquare.network.Node;
|
||||
|
||||
import net.tomp2p.dht.PeerBuilderDHT;
|
||||
import net.tomp2p.dht.PeerDHT;
|
||||
import net.tomp2p.nat.PeerBuilderNAT;
|
||||
|
@ -37,7 +39,7 @@ public class SeedNodeForTesting {
|
|||
public static void main(String[] args) throws Exception {
|
||||
// Define your seed node IP and port
|
||||
// "127.0.0.1" for localhost or SEED_ID_WAN_1
|
||||
new SeedNodeForTesting().startSeedNode("localhost", 5000);
|
||||
new SeedNodeForTesting().startSeedNode("localhost", Node.DEFAULT_PORT);
|
||||
}
|
||||
|
||||
public Thread startSeedNode(String seedNodeId, int seedNodePort) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue