mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-30 10:18:44 -04:00
Add update notification to alert system
This commit is contained in:
parent
6b3df246a1
commit
a286e3e9b3
7 changed files with 116 additions and 16 deletions
|
@ -30,11 +30,13 @@ public final class Alert implements PubKeyProtectedExpirablePayload {
|
|||
private static final long TTL = TimeUnit.DAYS.toMillis(10);
|
||||
|
||||
public final String message;
|
||||
public final boolean isUpdateInfo;
|
||||
private String signatureAsBase64;
|
||||
private PublicKey storagePublicKey;
|
||||
|
||||
public Alert(String message) {
|
||||
public Alert(String message, boolean isUpdateInfo) {
|
||||
this.message = message;
|
||||
this.isUpdateInfo = isUpdateInfo;
|
||||
}
|
||||
|
||||
public void setSigAndStoragePubKey(String signatureAsBase64, PublicKey storagePublicKey) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue