Exemple #1
0
        public ChargeTester(ServerTester serverTester, string environmentName, string defaultValue, string defaultHost, Network network)
        {
            this._Parent = serverTester;
            var url = serverTester.GetEnvironment(environmentName, defaultValue);

            Client  = new ChargeClient(new Uri(url), network);
            P2PHost = _Parent.GetEnvironment(environmentName + "_HOST", defaultHost);
        }
Exemple #2
0
        public ChargeTester(ServerTester serverTester, string environmentName, string defaultValue, string defaultHost, Network network)
        {
            this._Parent = serverTester;
            var url = serverTester.GetEnvironment(environmentName, defaultValue);

            Client  = (ChargeClient)LightningClientFactory.CreateClient(url, network);
            P2PHost = _Parent.GetEnvironment(environmentName + "_HOST", defaultHost);
        }
Exemple #3
0
 public EclairTester(ServerTester parent, string environmentName, string defaultRPC, string defaultHost, Network network)
 {
     this.parent = parent;
     RPC         = new EclairRPCClient(new Uri(parent.GetEnvironment(environmentName, defaultRPC)), network);
     P2PHost     = parent.GetEnvironment(environmentName + "_HOST", defaultHost);
 }
 public LightningDTester(ServerTester parent, string environmentName, string defaultRPC, string defaultHost, Network network)
 {
     this.parent = parent;
     RPC         = new CLightningRPCClient(new Uri(parent.GetEnvironment(environmentName, defaultRPC)), network);
 }