btcpayserver/BTCPayServer/Models/StoreViewModels/StoreLightningNode.cs
d11n 8d429f064b
Show Lightning node availability in navigation (#5951)
* Show Lightning node availability in navigation

Instead of simply communicating the setup state of the store's LN node, this now also checks its availability.

Closes  #5940.

* Cleanups

* Add Selenium test for public node page and status in nav

* Cache the available lightning node result

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-04-26 08:30:34 +02:00

15 lines
411 B
C#

using BTCPayServer.Payments;
namespace BTCPayServer.Models.StoreViewModels
{
public class StoreLightningNode
{
public string CryptoCode { get; set; }
public PaymentMethodId PaymentMethodId { get; set; }
public string Address { get; set; }
public bool Enabled { get; set; }
public bool Available { get; set; }
public string CacheKey { get; set; }
}
}