mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-27 00:45:23 -04:00
Fix positioning issue for linux, change to new version nr for network and db
This commit is contained in:
parent
0c465a9ec3
commit
efc365f7e3
4 changed files with 19 additions and 11 deletions
|
@ -28,10 +28,10 @@ public class Version {
|
|||
|
||||
// The version nr. for the objects sent over the network. A change will break the serialization of old objects.
|
||||
// If objects are used for both network and database the network version is applied.
|
||||
public static final long P2P_NETWORK_VERSION = 1;
|
||||
public static final long P2P_NETWORK_VERSION = 2;
|
||||
|
||||
// The version nr. of the serialized data stored to disc. A change will break the serialization of old objects.
|
||||
public static final long LOCAL_DB_VERSION = 1;
|
||||
public static final long LOCAL_DB_VERSION = 2;
|
||||
|
||||
// The version nr. of the current protocol. The offer holds that version.
|
||||
// A taker will check the version of the offers to see if his version is compatible.
|
||||
|
|
|
@ -114,7 +114,7 @@ public class Utilities {
|
|||
return getOSName().contains("mac") || getOSName().contains("darwin");
|
||||
}
|
||||
|
||||
private static boolean isLinux() {
|
||||
public static boolean isLinux() {
|
||||
return getOSName().contains("linux");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue