mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
25 lines
670 B
C#
25 lines
670 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Eclair
|
|
{
|
|
public class NodeInfo
|
|
{
|
|
public NodeInfo(string nodeId, string host, int port)
|
|
{
|
|
if (host == null)
|
|
throw new ArgumentNullException(nameof(host));
|
|
if (nodeId == null)
|
|
throw new ArgumentNullException(nameof(nodeId));
|
|
Port = port;
|
|
Host = host;
|
|
NodeId = nodeId;
|
|
}
|
|
public string NodeId { get; private set; }
|
|
public string Host { get; private set; }
|
|
public int Port { get; private set; }
|
|
}
|
|
}
|