mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Display onion address of offerer and trading peer in details windows
This commit is contained in:
parent
32fbd7877f
commit
0b93641129
@ -199,7 +199,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||
}
|
||||
}
|
||||
|
||||
rows = 4;
|
||||
rows = 5;
|
||||
String paymentMethodCountryCode = offer.getCountryCode();
|
||||
if (paymentMethodCountryCode != null)
|
||||
rows++;
|
||||
@ -208,6 +208,7 @@ public class OfferDetailsWindow extends Overlay<OfferDetailsWindow> {
|
||||
|
||||
addTitledGroupBg(gridPane, ++rowIndex, rows, "Details", Layout.GROUP_DISTANCE);
|
||||
addLabelTextField(gridPane, rowIndex, "Offer ID:", offer.getId(), Layout.FIRST_ROW_AND_GROUP_DISTANCE);
|
||||
addLabelTextField(gridPane, ++rowIndex, "Offerers onion address:", offer.getOffererNodeAddress().getFullAddress());
|
||||
addLabelTextField(gridPane, ++rowIndex, "Creation date:", formatter.formatDateTime(offer.getDate()));
|
||||
addLabelTextField(gridPane, ++rowIndex, "Security deposit:", formatter.formatCoinWithCode(FeePolicy.getSecurityDeposit()));
|
||||
|
||||
|
@ -150,6 +150,8 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
|
||||
rows++;
|
||||
if (trade.errorMessageProperty().get() != null)
|
||||
rows += 2;
|
||||
if (trade.getTradingPeerNodeAddress() != null)
|
||||
rows++;
|
||||
|
||||
addTitledGroupBg(gridPane, ++rowIndex, rows, "Details", Layout.GROUP_DISTANCE);
|
||||
addLabelTextField(gridPane, rowIndex, "Trade ID:", trade.getId(), Layout.FIRST_ROW_AND_GROUP_DISTANCE);
|
||||
@ -157,6 +159,10 @@ public class TradeDetailsWindow extends Overlay<TradeDetailsWindow> {
|
||||
addLabelTextField(gridPane, ++rowIndex, "Security deposit:", formatter.formatCoinWithCode(FeePolicy.getSecurityDeposit()));
|
||||
addLabelTextField(gridPane, ++rowIndex, "Selected arbitrator:", trade.getArbitratorNodeAddress().getFullAddress());
|
||||
|
||||
if (trade.getTradingPeerNodeAddress() != null)
|
||||
addLabelTextField(gridPane, ++rowIndex, "Trading peers onion address:", trade.getTradingPeerNodeAddress().getFullAddress());
|
||||
|
||||
|
||||
if (contract != null) {
|
||||
if (buyerPaymentAccountContractData != null) {
|
||||
TextField tf = addLabelTextField(gridPane, ++rowIndex, "Buyer payment details:", BSResources.get(buyerPaymentAccountContractData.getPaymentDetails())).second;
|
||||
|
@ -32,15 +32,15 @@ public class SeedNodesRepository {
|
||||
new NodeAddress("izs5oz7i5ta7c2ir.onion:8000"),*/
|
||||
|
||||
// v0.3.5
|
||||
/* new NodeAddress("hulvbm5xjn7b7ku4.onion:8000"),
|
||||
new NodeAddress("hulvbm5xjn7b7ku4.onion:8000"),
|
||||
new NodeAddress("3efgjjbdvhbvck3x.onion:8000"),
|
||||
new NodeAddress("3unfcshgwipxhxfm.onion:8000"),*/
|
||||
new NodeAddress("3unfcshgwipxhxfm.onion:8000"),
|
||||
|
||||
|
||||
// v0.3.6
|
||||
new NodeAddress("ybmi4iaesugslxrw.onion:8000"),
|
||||
/* new NodeAddress("ybmi4iaesugslxrw.onion:8000"),
|
||||
new NodeAddress("ufwnvo775jfnjeux.onion:8000"),
|
||||
new NodeAddress("b66vnevaljo6xt5a.onion:8000"),
|
||||
new NodeAddress("b66vnevaljo6xt5a.onion:8000"),*/
|
||||
|
||||
// testnet
|
||||
new NodeAddress("znmy44wcstn2rkva.onion:8001"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user