Exposing LND Rest, providing info in Server/Services (#363)

* Displaying LND Rest connection info in Services

* Code cleanup

* Tweaking UI

* Fix typo
This commit is contained in:
Rockstar Developer
2018-10-27 08:49:39 -05:00
committed by Nicolas Dorier
parent 43bd6587d3
commit e5eb0c79c0
13 changed files with 201 additions and 74 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Configuration.External;
namespace BTCPayServer.Models.ServerViewModels
{
@@ -10,7 +11,7 @@ namespace BTCPayServer.Models.ServerViewModels
public class LNDServiceViewModel
{
public string Crypto { get; set; }
public string Type { get; set; }
public LndTypes Type { get; set; }
public int Index { get; set; }
}
public List<LNDServiceViewModel> LNDServices { get; set; } = new List<LNDServiceViewModel>();