Greenfield: Extend LN GetInfo data (#4167)

Matching the data added in btcpayserver/BTCPayServer.Lightning#97.
This commit is contained in:
d11n
2022-09-28 02:34:34 +02:00
committed by GitHub
parent bc195e771e
commit 4bee8e9bfe
4 changed files with 59 additions and 3 deletions

View File

@@ -9,6 +9,13 @@ namespace BTCPayServer.Client.Models
[JsonProperty("nodeURIs", ItemConverterType = typeof(NodeUriJsonConverter))]
public NodeInfo[] NodeURIs { get; set; }
public int BlockHeight { get; set; }
public string Alias { get; set; }
public string Color { get; set; }
public string Version { get; set; }
public long? PeersCount { get; set; }
public long? ActiveChannelsCount { get; set; }
public long? InactiveChannelsCount { get; set; }
public long? PendingChannelsCount { get; set; }
}
public class LightningChannelData