Add blockheight info
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
@@ -98,6 +98,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
Confirmations = txr.Height.Type == HeightType.Chain ? (int)Global.BitcoinStore.SmartHeaderChain.TipHeight - txr.Height.Value + 1 : 0,
AmountBtc = $"{txr.Amount.ToString(fplus: true, trimExcessZero: true)}",
Label = txr.Label,
+ BlockHeight = txr.Height.Type == HeightType.Chain ? txr.Height.Value : 0,
TransactionId = txr.TransactionId.ToString()
}).Select(ti => new TransactionViewModel(ti));

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfo.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfo.cs
@@ -12,6 +12,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private DateTimeOffset _dateTime;
private string _amountBtc;
private string _label;
+ private int _blockHeight;
private string _transactionId;
public DateTimeOffset DateTime
@@ -44,6 +45,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _label, value);
}
+ public int BlockHeight
+ {
+ get => _blockHeight;
+ set => this.RaiseAndSetIfChanged(ref _blockHeight, value);
+ }
+
public string TransactionId
{
get => _transactionId;

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabView.xaml
<TextBlock Classes="monospaceFont" Text="Transaction Date:" />
<controls:ExtendedTextBox Grid.Column="1" Classes="selectableTextBlock monospaceFont Transparent" Text="{Binding DateTime}" />
</Grid>
+ <Grid ColumnDefinitions="170, *">
+ <TextBlock Classes="monospaceFont" Text="Block Height:" />
+ <controls:ExtendedTextBox Grid.Column="1" Classes="selectableTextBlock monospaceFont Transparent" Text="{Binding BlockHeight}" />
+ </Grid>
<Grid ColumnDefinitions="170, *">
<TextBlock Classes="monospaceFont" Text="Confirmed:" />
<controls:ExtendedTextBox Grid.Column="1" Classes="selectableTextBlock monospaceFont Transparent" Text="{Binding Confirmed, Converter={StaticResource BooleanStringConverter}, ConverterParameter=Yes:No, Mode=OneWay}" />

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
@@ -78,6 +78,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public string Label => Model.Label;
+ public int BlockHeight => Model.BlockHeight;
+
public string TransactionId => Model.TransactionId;
public bool ClipboardNotificationVisible

Add blockheight info