2017-12-13 15:49:19 +09:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-03-20 11:59:43 +09:00
|
|
|
|
namespace BTCPayServer.Payments.Lightning.Charge
|
2017-12-13 15:49:19 +09:00
|
|
|
|
{
|
2018-02-28 22:56:12 +09:00
|
|
|
|
//[{"type":"ipv4","address":"52.166.90.122","port":9735}]
|
2017-12-13 15:49:19 +09:00
|
|
|
|
public class GetInfoResponse
|
|
|
|
|
{
|
2018-02-28 22:56:12 +09:00
|
|
|
|
public class GetInfoAddress
|
|
|
|
|
{
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
public string Address { get; set; }
|
|
|
|
|
public int Port { get; set; }
|
|
|
|
|
}
|
2018-02-23 15:21:42 +09:00
|
|
|
|
public string Id { get; set; }
|
2017-12-13 15:49:19 +09:00
|
|
|
|
public int Port { get; set; }
|
2018-02-28 22:56:12 +09:00
|
|
|
|
public GetInfoAddress[] Address { get; set; }
|
2018-02-23 15:21:42 +09:00
|
|
|
|
public string Version { get; set; }
|
2017-12-13 15:49:19 +09:00
|
|
|
|
public int BlockHeight { get; set; }
|
2018-02-23 15:21:42 +09:00
|
|
|
|
public string Network { get; set; }
|
2017-12-13 15:49:19 +09:00
|
|
|
|
}
|
|
|
|
|
}
|