diff --git a/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml b/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml
index e01fef5dd..8315623b7 100644
--- a/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml
+++ b/BTCPayServer/Views/Shared/LayoutPartials/SyncModal.cshtml
@@ -1,6 +1,7 @@
-@inject BTCPayServer.HostedServices.NBXplorerDashboard dashboard
-
-@if (!dashboard.IsFullySynched())
+@using BTCPayServer.Services.Altcoins.Monero.Services
+@inject BTCPayServer.HostedServices.NBXplorerDashboard dashboard
+@inject MoneroRPCProvider MoneroRpcProvider
+@if (!dashboard.IsFullySynched() || !MoneroRpcProvider.Summaries.All(pair => pair.Value.WalletAvailable))
{
Watch this video to understand the importance of blockchain synchronization.
diff --git a/BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml b/BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml
new file mode 100644
index 000000000..5429f2ec0
--- /dev/null
+++ b/BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml
@@ -0,0 +1,20 @@
+@using BTCPayServer.Services.Altcoins.Monero.Services
+@inject MoneroRPCProvider MoneroRpcProvider
+@inject SignInManager SignInManager;
+
+@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroRpcProvider.Summaries.Any())
+{
+ @foreach (var summary in MoneroRpcProvider.Summaries)
+ {
+ @if (summary.Value != null)
+ {
+ @summary.Key
+
+ - Node available: @Model.Summary.DaemonAvailable
+ - Wallet available: @Model.Summary.WalletAvailable (@(Model.WalletFileFound ? "Wallet file present" : "Wallet file not found"))
+ - Last updated: @Model.Summary.UpdatedAt
+ - Synced: @Model.Summary.Synced (@Model.Summary.CurrentHeight / @Model.Summary.TargetHeight)
+
+ }
+ }
+}
diff --git a/BTCPayServer/Views/Shared/Monero/ViewMoneroLikePaymentData.cshtml b/BTCPayServer/Views/Shared/Monero/ViewMoneroLikePaymentData.cshtml
index acb8f025b..b5561cf31 100644
--- a/BTCPayServer/Views/Shared/Monero/ViewMoneroLikePaymentData.cshtml
+++ b/BTCPayServer/Views/Shared/Monero/ViewMoneroLikePaymentData.cshtml
@@ -1,5 +1,4 @@
@using System.Globalization
-@using BTCPayServer.Controllers
@using BTCPayServer.Services.Altcoins.Monero.Payments
@using BTCPayServer.Services.Altcoins.Monero.UI
@model IEnumerable
@@ -11,7 +10,7 @@
var onChainPaymentData = payment.GetCryptoPaymentData() as MoneroLikePaymentData;
m.Crypto = payment.GetPaymentMethodId().CryptoCode;
m.DepositAddress = onChainPaymentData.GetDestination();
-
+ m.Amount = onChainPaymentData.GetValue().ToString(CultureInfo.InvariantCulture);
var confirmationCount = onChainPaymentData.ConfirmationCount;
var network = payment.Network as MoneroLikeSpecificBtcPayNetwork;
if (confirmationCount >= network.MaxTrackedConfirmation)
@@ -40,6 +39,7 @@
| Crypto |
Deposit address |
+ Amount |
Transaction Id |
Confirmations |
@@ -50,6 +50,7 @@
| @payment.Crypto |
@payment.DepositAddress |
+ @payment.Amount |
|