mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-06 22:29:10 -04:00
Move comments regarding default ports to Node#DEFAULT_PORT
This commit is contained in:
parent
50e27014fb
commit
5ab837658b
2 changed files with 6 additions and 4 deletions
|
@ -20,10 +20,6 @@ package io.bitsquare.network;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
// Ports 7366-7390 are not registered @see
|
|
||||||
// <a href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=103</a>
|
|
||||||
// Lets use ports in that range 7366-7390
|
|
||||||
// 7366 will be used as default port
|
|
||||||
public interface BootstrapNodes {
|
public interface BootstrapNodes {
|
||||||
|
|
||||||
Node DIGITAL_OCEAN_1 = Node.at("digitalocean1.bitsquare.io", "188.226.179.109");
|
Node DIGITAL_OCEAN_1 = Node.at("digitalocean1.bitsquare.io", "188.226.179.109");
|
||||||
|
|
|
@ -22,6 +22,12 @@ import com.google.common.base.Objects;
|
||||||
public final class Node {
|
public final class Node {
|
||||||
public static final String NAME_KEY = "name";
|
public static final String NAME_KEY = "name";
|
||||||
public static final String PORT_KEY = "port";
|
public static final String PORT_KEY = "port";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default port is one <a
|
||||||
|
* href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=103">
|
||||||
|
* currently unassigned by IANA</a> (7366-7390).
|
||||||
|
*/
|
||||||
public static final int DEFAULT_PORT = 7366;
|
public static final int DEFAULT_PORT = 7366;
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue