mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Use 60 days for TTL for alert. Cleanups.
This commit is contained in:
parent
5d87e5e9c7
commit
27d1083380
@ -52,8 +52,8 @@ public final class Alert implements ProtectedStoragePayload {
|
||||
@Nullable
|
||||
private PublicKey ownerPubKey;
|
||||
|
||||
// Should be only used in emergency case if we need to add data but do not want to break backward compatibility
|
||||
// at the P2P network storage checks. The hash of the object will be used to verify if the data is valid. Any new
|
||||
// Should be only used in emergency case if we need to add data but do not want to break backward compatibility
|
||||
// at the P2P network storage checks. The hash of the object will be used to verify if the data is valid. Any new
|
||||
// field in a class would break that hash and therefore break the storage mechanism.
|
||||
@Nullable
|
||||
private Map<String, String> extraDataMap;
|
||||
@ -119,7 +119,7 @@ public final class Alert implements ProtectedStoragePayload {
|
||||
|
||||
@Override
|
||||
public long getTTL() {
|
||||
return TimeUnit.DAYS.toMillis(30);
|
||||
return TimeUnit.DAYS.toMillis(60);
|
||||
}
|
||||
|
||||
public void setSigAndPubKey(String signatureAsBase64, PublicKey ownerPubKey) {
|
||||
|
@ -323,11 +323,8 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
||||
.show();
|
||||
}
|
||||
} else if (Utilities.isAltOrCtrlPressed(KeyCode.ENTER, event)) {
|
||||
if (selectedDispute != null) {
|
||||
if (messagesInputBox.isVisible() && inputTextArea.isFocused()) {
|
||||
onTrySendMessage();
|
||||
}
|
||||
}
|
||||
if (selectedDispute != null && messagesInputBox.isVisible() && inputTextArea.isFocused())
|
||||
onTrySendMessage();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -259,7 +259,7 @@ class OfferBookViewModel extends ActivatableViewModel {
|
||||
}
|
||||
|
||||
boolean hasSufficientPeersForBroadcast() {
|
||||
return walletsSetup.hasSufficientPeersForBroadcast();
|
||||
return walletsSetup.hasSufficientPeersForBroadcast();
|
||||
}
|
||||
|
||||
TradeCurrency getSelectedTradeCurrency() {
|
||||
|
@ -34,7 +34,7 @@ import java.security.Security;
|
||||
|
||||
@Slf4j
|
||||
public class Monitor {
|
||||
public static final String VERSION = "1.0.0";
|
||||
public static final String VERSION = "1.0.1";
|
||||
|
||||
private static MonitorEnvironment environment;
|
||||
@Getter
|
||||
|
Loading…
Reference in New Issue
Block a user