mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Move comments regarding default ports to Node#DEFAULT_PORT
This commit is contained in:
parent
50e27014fb
commit
5ab837658b
@ -20,10 +20,6 @@ package io.bitsquare.network;
|
||||
import java.util.Arrays;
|
||||
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 {
|
||||
|
||||
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 static final String NAME_KEY = "name";
|
||||
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;
|
||||
|
||||
private final String name;
|
||||
|
Loading…
Reference in New Issue
Block a user