Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Yogafan00000 on March 27, 2017, 06:05:01 PM



Title: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 27, 2017, 06:05:01 PM
I've created a live TESTNET installation of the eclair lightning node alpha release.  The install is working and will open payment channels, send & receive funds, close channels.

This is working on TestNet.

The purpose of this endeavour is to explore the capabilities of this software and begin to answer some questions about it's use in practical situations.

For example:
How much can I send at once?
Is it really instant?
How does it perform?
What are the caveats to using this network?
Will it really scale in order for millions to be able to pay for coffee?
Will it be possible to run seamlessly for an end user with zero technical knowedge?
Is it possible for the LNN to stay decentralized among node operators?


Feel free to connect to my lightning node at URI: 026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350@pa.xro.ca:9735

Post your node URI in this thread, and a test payment request and let's see if we can get this TEST LNN implementation growing.

If you connect, post a payment request of 5-10 TESTNET milliBTC and I'll send them to you.

Let me know if you need help setting up a node, and I'll try to assist.

Installed with:
Stock Ubuntu 16.04
Oracle Java 8 (IMPORTANT, must be Oracle Java)
bitcoin-qt, set to testnet
eclair alpha   (https://github.com/ACINQ/eclair)
ports 18333 and 9735 open and NAT'd to node.

Awesome demo of eclair node in regtest mode
https://www.youtube.com/watch?v=v68npliVCWw&t=454s

Currently Active Public TESTNET Lightning Nodes
026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350@pa.xro.ca:9735


Sample Payment Requests for public nodes
02478ff2fcd5135a43e76180602d9953f34686b3f7968ae0c0674a12376ddb7ee9:100000000:b2afc4278bac978886066aa2f71d098c1f12903d977b068837fb4240ffea8ba9
02478ff2fcd5135a43e76180602d9953f34686b3f7968ae0c0674a12376ddb7ee9:200000000:839bcf3e34ffa8aac80474a6b4babb3f5f5127d64d88a8ef7991164ba96f2a43
02478ff2fcd5135a43e76180602d9953f34686b3f7968ae0c0674a12376ddb7ee9:300000000:7da377bb665ec147c416db5ad07a94952154c8e1f4afac1266a589275f049e14
02478ff2fcd5135a43e76180602d9953f34686b3f7968ae0c0674a12376ddb7ee9:400000000:51f9353a5857a13ff26255f7d7ce88670f327592b5e2df65e38e30bf91d8b292
02478ff2fcd5135a43e76180602d9953f34686b3f7968ae0c0674a12376ddb7ee9:500000000:cec99ad09ffa4a7b0d609576fbd52c2ca785550d2fe1041dada67d648046096a


026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:600000000:05531bf99b20ff00cf7654c201092a32a95bdcebb761ae06b9c8534d239f8ebf
026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:700000000:eb7aaedc016ad607e6cf195d9defe736adf10481bd626e7f7993d35ef2825799
026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:800000000:049307d3bf99df1587ea7ec14a72ba12c6c09e91c927d7add3bc00921efa812f
026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:900000000:bcf3f7faa56885f35a73e18cf20805766b1bad619363c89372e7676b86c63b51
026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:1000000000:665fbff328012bbf0f9a22956cdd610fda0e8b04c0bb4d4b8726d09424b165d9


***UPDATE***
After trying this software for a few days, it's clear that if you want to receive funds, you have to have open ports to be able to let others connect to your node and start a payment channel.  If you set up a semi-permanent node with open ports, I'll post your EXTERNAL public address here so others can connect.  If this is not possible for you, use one of the payment requests posted here to at least try to send a payment after you have connected to a node.

I don't know yet if payment requests can be re-used by different nodes.  I do know that payment requests cannot be repaid from the same node.






Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 27, 2017, 07:46:00 PM
I have tested this extensively, but only alone and not with other people.

I will post you my node and we can do this. Are you on IRC and we can coordinate things better then. Maybe get some more people going, and at least test Eclair better, until the Lightning Go implementation is fully BOLT compatible, and then we can really test it big time.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 27, 2017, 07:57:08 PM
Sweet!

No, I haven't been on IRC for at least 20 years,  :o  I'll look into get on again, if we really need to.

Post your node URI and a payment request, and I'll try setting up a payment channel and pay it via a payment channel I have set up already on another network address.

I'm looking forward to seeing this in action!

I have tested this extensively, but only alone and not with other people.

I will post you my node and we can do this. Are you on IRC and we can coordinate things better then. Maybe get some more people going, and at least test Eclair better, until the Lightning Go implementation is fully BOLT compatible, and then we can really test it big time.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 27, 2017, 08:07:15 PM
There are about 50 people in the #lnd channel on freenode. Join up here if you need quick link: https://webchat.freenode.net/

This is primarily for the Go implementation of Lightning, but once they are compatible with the spec set out between them, we can all test between 4-5 implementations.

URI is: 02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a@127.0.0.1:9735

Here is my payment request: 02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a:1000000000:dabe2b56d45fd64df25364a5e2706834aad8510c9bf2be7b023ed70dcd55f7e5

This is for 10 milliBTC.

But I am currently not connected to any channels, so you wont be able to route that payment to me, we need to connect to each other first.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 27, 2017, 08:09:35 PM
There are about 50 people in the #lnd channel on freenode. Join up here if you need quick link: https://webchat.freenode.net/

This is primarilly for the Go implementation of Lightning, but once they are compatible with the spec set out between them, we can all test between 4-5 implementations.

URI is: 02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a@127.0.0.1:9735

Here is my payment request: 02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a:1000000000:dabe2b56d45fd64df25364a5e2706834aad8510c9bf2be7b023ed70dcd55f7e5

This is for 10 milliBTC.

But I am currently not connected to any channels, so you wont be able to route that payment to me, we need to connect to each other first.

I'm thinking I'll need your external ip address to open the channel...


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 27, 2017, 09:03:25 PM
I connected to you, and got 2 connections back at the same time?

What did you do?


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: animalroam on March 27, 2017, 09:24:39 PM
I'm not exactly technical in terms of the LN network, but I'm looking into this. How is a payment channel created - are you creating channels by connecting to other nodes?


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 27, 2017, 09:32:14 PM
I'm not exactly technical in terms of the LN network, but I'm looking into this. How is a payment channel created - are you creating channels by connecting to other nodes?

You need to run Bitcoin Core in testnet mode.

You then start up the Eclair node, which is a lightning network node.

Then you connect to a channel, and wait 6 confirmations on testnet.

This is very early days, and we have no block discovery tool. The best we can do right now is to connect manually to each other and send each other some testnet coin.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 02:14:12 PM
I connected to you, and got 2 connections back at the same time?

What did you do?

Weird!  I  was AFK when you connected.  I see your payment channel that you created, but its marked offline now.  I don't know anything about the 2 connections you got back.

Try bringing your node online and leave it on if you can.  I'll monitor it today and reconnect and send payment when I see your node online.

Screenshot of what I saw this morning.  Your payment channel is at the bottom.

http://73.gs/u/BbwFt.png





Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 02:18:27 PM
I'm not exactly technical in terms of the LN network, but I'm looking into this. How is a payment channel created - are you creating channels by connecting to other nodes?

We are just trying this out.  I'd like to get as large of a Lightning Node network going as we possibly can to test the capabilities.

Get an eclair node up and running as per the OP, open your ports and post the public URI, if you can, and hopefully someone will connect and open a payment channel.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 28, 2017, 02:49:17 PM
Will get this up and running in a few hours again.

Will need to open the Eclair port too it seems.

It is also interesting if this works as we have both been online. If it does, it means our channel is forever established, unless we actively close it, and can keep on going off and on until we are both on to make transactions!


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 03:33:35 PM
Will get this up and running in a few hours again.

Will need to open the Eclair port too it seems.

It is also interesting if this works as we have both been online. If it does, it means our channel is forever established, unless we actively close it, and can keep on going off and on until we are both on to make transactions!

It's very cool!  As I understand it, the funds used to open the channel stay locked in the 2 of 2 transaction (is that the right word?) until the channel is closed or forced closed.

I'm curious to know how the software behaves when trying to send amounts larger than the funding channel.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 28, 2017, 07:27:53 PM
Will get this up and running in a few hours again.

Will need to open the Eclair port too it seems.

It is also interesting if this works as we have both been online. If it does, it means our channel is forever established, unless we actively close it, and can keep on going off and on until we are both on to make transactions!

It's very cool!  As I understand it, the funds used to open the channel stay locked in the 2 of 2 transaction (is that the right word?) until the channel is closed or forced closed.

I'm curious to know how the software behaves when trying to send amounts larger than the funding channel.


I tried to send larger than balance on regtest. It fails to send and does not allow it. I think it will behave the same way here as its hardcoded into the client we use.

I think funds will stay on the channel between us indefinitely or until we close it. Its pretty cool!


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 28, 2017, 07:54:10 PM
Looks like channel auto closed when we disconnected :(

I made a new connection to you. Waiting for the 6 confs to go through and will then send you some coins.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 09:27:38 PM
Looks like channel auto closed when we disconnected :(

I made a new connection to you. Waiting for the 6 confs to go through and will then send you some coins.

The nodes seem to get stuck on WAITING_FOR_FUNDING_CONFIRMED sometimes.  Then I have to restart the node and reconnect the "funding" node for it to switch to NORMAL.

I'm sending through your payment request even though your are OFFLINE.  Maybe it will go through we you re-connect?

Looks like we have another node connecting...

http://73.gs/u/rOgzn.png


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 28, 2017, 09:28:17 PM
We are connected!  ;D

Give me a payment request and I will send funds


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 09:46:21 PM
We are connected!  ;D

Give me a payment request and I will send funds

payment request:

02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a:1000000000:dabe2b56d45fd64df25364a5e2706834aad8510c9bf2be7b023ed70dcd55f7e5


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 28, 2017, 10:03:21 PM
We are connected!  ;D

Give me a payment request and I will send funds

payment request:

02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a:1000000000:dabe2b56d45fd64df25364a5e2706834aad8510c9bf2be7b023ed70dcd55f7e5

I'm a dummy.  I cut and pasted the wrong one, lol.  This is the one you sent me. Here's the correct payment request.

026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:900000000:d9c383139aeb88ab1a296065cae77e72a376c98bbdd90621c30ce64b5d27e261


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 29, 2017, 11:57:40 AM
We need to coordinate this better, it seems testnet is buggy as hell and it kicks us off all the time and ruins our channel setup.

How about you drop by #lnd on freenode and we do it?


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on March 29, 2017, 05:44:25 PM
We are connected!  ;D

Give me a payment request and I will send funds

payment request:

02eff3b9ec986e8691b5b41e944acd9d20b9c36c8c50c2674239242eee9bfacc4a:1000000000:dabe2b56d45fd64df25364a5e2706834aad8510c9bf2be7b023ed70dcd55f7e5

I'm a dummy.  I cut and pasted the wrong one, lol.  This is the one you sent me. Here's the correct payment request.

026e6a7caf73e61a3c43afed0f48a40ad4c200a0f15280e1774619fffe4553b350:900000000:d9c383139aeb88ab1a296065cae77e72a376c98bbdd90621c30ce64b5d27e261

I think it worked. I send you some funds via another channel connected to you that routed the payment. Check if you can see it.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 30, 2017, 06:49:38 PM

I think it worked. I send you some funds via another channel connected to you that routed the payment. Check if you can see it.

Hmm, not sure.  I don't see a channel with a balance other than between my two nodes.  (FYI, i have inbound ports 18333-->core and 9735--> eclair open)

here's some screenshots of the current state of my public node.

http://73.gs/u/K31QV.png

http://73.gs/u/jzQmt.png

http://73.gs/u/jALAK.png



Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on March 30, 2017, 07:15:50 PM
Here's a screencap of successful payment between 2 nodes across the Internet.

Each node has ports 18333-->core and 9735-->eclair opened.

http://73.gs/u/zRLbh.png


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on April 18, 2017, 03:31:19 PM
I updated my LN nodes to eclair alpha2. 

I set up a 3 node network, with each node accepting inbound connections.  I attempted to establish a circular network where node A --> Node B --> node C --> back to node A.

The client software is extremely glitchy at this point.  Sometimes nodes will connect, and other times, the nodes won't ever leave "WAITINGFORFUNDING" status.

Restarting the node and trying to click reconnect does nothing.  I was never able to make a LN payment in this configuration.

I'll try this all again when they release another build.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: cryptoanarchist on April 19, 2017, 01:33:33 PM
Why not just use Paypal?


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on April 20, 2017, 12:43:51 PM
Why not just use Paypal?

They fucked me over once in their early days, (around 2002?)

My plan is to put them out of business.  Bitcoin/LN seems like a good way.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: cryptoanarchist on April 20, 2017, 03:24:27 PM
Why not just use Paypal?

They fucked me over once in their early days, (around 2002?)

My plan is to put them out of business.  Bitcoin/LN seems like a good way.

but somehow, a Blockstream(AXA)-controlled and 'regulated' side chain is going to be sooooo much better.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: achow101 on April 20, 2017, 04:51:56 PM
but somehow, a Blockstream(AXA)-controlled and 'regulated' side chain is going to be sooooo much better.
The lightning network is not blockstream controlled nor is it regulated nor is it a sidechain.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: Yogafan00000 on April 20, 2017, 05:23:52 PM


but somehow, a Blockstream(AXA)-controlled and 'regulated' side chain is going to be sooooo much better.

I'm glad you agree with me.  (a lot of people seem to really hate LN for some reason)

Do you have an eclair LN node address to share?  Don't forget to open port 9735 to your eclair client in order to accept incoming LN channels.

And let me know if you need some testnet coins.

Cheers!


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on April 21, 2017, 02:21:56 PM
Why not just use Paypal?

They fucked me over once in their early days, (around 2002?)

My plan is to put them out of business.  Bitcoin/LN seems like a good way.

but somehow, a Blockstream(AXA)-controlled and 'regulated' side chain is going to be sooooo much better.

What? In what way does the lightning network that is open source, and is developed by 4 different independent teams in any way related to blockstreams sidechains? You come across as a clueless angry person, please stop hijacking our thread where we test the lightning network.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on April 28, 2017, 06:44:07 PM
Alright so Segwit is now going hot on Litecoin. Anyone up for testing Eclair lightning nodes on mainnet?

It only requires few modifications in the config files and we can get it running up against litecoin. Also alpha3 is out and has better management inside the lightning wallet.

I am willing to send the first Litecoin for free to anyone that wants to test this out with me.


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: JackH on May 02, 2017, 12:31:54 PM
For anyone that wants to be ready for the Litecoin activation and start sending Litecoins over the Lightning Network, please find configuration details here: https://gist.github.com/sstone/4746992b6d0f53db2d55116e50cc4d03

Remember to download Litecoin-qt


Title: Re: WORKING Lightning Node Network (LNN) on TESTNET, feel free to join
Post by: highGrounds on August 23, 2017, 10:10:00 PM
Hello are you still running that LN testnet node?

I have one lnd node running now on testnet, was able to open some channels with other nodes, so please feel free to connect to my node here:
Code:
025614041d5b2300bdf5606c938902b7b421fc099587b3705fdf33d6464eca8cba@5.15.109.41:9735


Very interesting! Did some (testnet) shopping at https://lightning.bitrefill.com (https://lightning.bitrefill.com)