Add waring popups for aridrop coins

This commit is contained in:
Manfred Karrer 2017-11-25 09:57:43 -05:00
parent cda5b0da9f
commit 0d8c600b6c
No known key found for this signature in database
GPG key ID: 401250966A6B2C46
2 changed files with 18 additions and 0 deletions

View file

@ -905,6 +905,13 @@ There is no payment ID required, just the normal public address.\n\n\
If you are not sure about that process visit the Monero forum (https://forum.getmonero.org) to find more information.
account.altcoin.popup.transparentTx.msg=When using {0} you can only use the transparent addresses (starting with t) not \
the z-addresses (private), because the arbitrator would not be able to verify the transaction with z-addresses.
account.altcoin.popup.bch=Bitcoin Cash and Bitcoin Clashic suffer from replay protection. If you use those coins be sure you take sufficient precautions and understand the implications.\
You can suffer losses by sending one coin and unintentionally send the same coins on the other block chain.\
Because those "airdrop coins" share the same history with the Bitcoin blockchain there are also security risks and a considerable risk for losing privacy.\n\n\
Please read at the Bisq Forum more about the topic: https://forum.bisq.io/t/airdrop-coins-information-thread
account.altcoin.popup.btg=Because Bitcoin Gold shares the same history as the Bitcoin blockchain it comes with certain security risks and a considerable risk for losing privacy.\
If you use Bitcoin Gold be sure you take sufficient precautions and understand all implications.\n\n\
Please read at the Bisq Forum more about the topic: https://forum.bisq.io/t/airdrop-coins-information-thread
account.fiat.yourFiatAccounts=Your national currency\naccounts:

View file

@ -148,6 +148,17 @@ public class AltCoinAccountsView extends ActivatableViewAndModel<GridPane, AltCo
.useIUnderstandButton()
.show();
break;
case "BCH":
case "BCHC":
new Popup<>().information(Res.get("account.altcoin.popup.bch"))
.useIUnderstandButton()
.show();
break;
case "BTG":
new Popup<>().information(Res.get("account.altcoin.popup.btg"))
.useIUnderstandButton()
.show();
break;
}
if (!model.getPaymentAccounts().stream().filter(e -> e.getAccountName() != null &&