btcpayserver/BTCPayServer.Tests/LightningDTester.cs

21 lines
572 B
C#
Raw Normal View History

2020-06-29 04:44:35 +02:00
using System;
using BTCPayServer.Lightning.CLightning;
2018-03-17 07:45:44 +01:00
using NBitcoin;
namespace BTCPayServer.Tests
{
public class LightningDTester
{
readonly ServerTester parent;
2018-03-17 07:45:44 +01:00
public LightningDTester(ServerTester parent, string environmentName, string defaultRPC, string defaultHost, Network network)
{
this.parent = parent;
RPC = new CLightningClient(new Uri(parent.GetEnvironment(environmentName, defaultRPC)), network);
2018-03-17 07:45:44 +01:00
}
public CLightningClient RPC { get; }
2018-03-17 07:45:44 +01:00
public string P2PHost { get; }
2020-06-28 10:55:27 +02:00
2018-03-17 07:45:44 +01:00
}
}