forked from Qortal/qortal
Fixed some issues left over from the qortaldata project
This commit is contained in:
parent
f9749cd82c
commit
8f8a500dcd
@ -90,7 +90,7 @@ public class Controller extends Thread {
|
|||||||
|
|
||||||
/** Controller start-up time (ms) taken using <tt>System.currentTimeMillis()</tt>. */
|
/** Controller start-up time (ms) taken using <tt>System.currentTimeMillis()</tt>. */
|
||||||
public static final long startTime = System.currentTimeMillis();
|
public static final long startTime = System.currentTimeMillis();
|
||||||
public static final String VERSION_PREFIX = "qortaldata-";
|
public static final String VERSION_PREFIX = "qortal-";
|
||||||
|
|
||||||
private static final Logger LOGGER = LogManager.getLogger(Controller.class);
|
private static final Logger LOGGER = LogManager.getLogger(Controller.class);
|
||||||
private static final long MISBEHAVIOUR_COOLOFF = 10 * 60 * 1000L; // ms
|
private static final long MISBEHAVIOUR_COOLOFF = 10 * 60 * 1000L; // ms
|
||||||
|
@ -32,11 +32,11 @@ import org.qortal.utils.EnumUtils;
|
|||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
public class Settings {
|
public class Settings {
|
||||||
|
|
||||||
private static final int MAINNET_LISTEN_PORT = 12394;
|
private static final int MAINNET_LISTEN_PORT = 12392;
|
||||||
private static final int TESTNET_LISTEN_PORT = 62394;
|
private static final int TESTNET_LISTEN_PORT = 62392;
|
||||||
|
|
||||||
private static final int MAINNET_API_PORT = 12393;
|
private static final int MAINNET_API_PORT = 12391;
|
||||||
private static final int TESTNET_API_PORT = 62393;
|
private static final int TESTNET_API_PORT = 62391;
|
||||||
|
|
||||||
private static final int MAINNET_DOMAIN_MAP_PORT = 80;
|
private static final int MAINNET_DOMAIN_MAP_PORT = 80;
|
||||||
private static final int TESTNET_DOMAIN_MAP_PORT = 8080;
|
private static final int TESTNET_DOMAIN_MAP_PORT = 8080;
|
||||||
|
@ -382,7 +382,7 @@ public abstract class Transaction {
|
|||||||
* @return transaction version number
|
* @return transaction version number
|
||||||
*/
|
*/
|
||||||
public static int getVersionByTimestamp(long timestamp) {
|
public static int getVersionByTimestamp(long timestamp) {
|
||||||
return 5; // TODO: hard fork timestamp!!
|
return 4; // TODO: hard fork timestamp!!
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user