btcpayserver/BTCPayServer.Tests/LightningDTester.cs

24 lines
657 B
C#
Raw Normal View History

2018-03-17 07:45:44 +01:00
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BTCPayServer.Lightning.CLightning;
2018-03-17 07:45:44 +01:00
using NBitcoin;
namespace BTCPayServer.Tests
{
public class LightningDTester
{
ServerTester parent;
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; }
}
}