Esempio n. 1
0
        private void BwChannelsQuery(object sender, DoWorkEventArgs e)
        {
            var openChannels    = LndClient.ListChannels();
            var pendingChannels = LndClient.ListPendingChannels();
            var closedChannels  = LndClient.ListClosedChannels();
            var result          = Tuple.Create(openChannels, pendingChannels, closedChannels);

            e.Result = result;
        }
Esempio n. 2
0
        public void ListChannelsTest()
        {
            // Arrange
            LndClient lndClient = new LndClient();

            // Act
            ListChannelsResponse response = lndClient.ListChannels();

            Assert.IsNotNull(response);
        }