Re: [Lightning-dev] Peer Selection

2017-12-15 Thread Christian Decker
For one thing having a single connection means that the peer you're connecting to can see all your payment amounts and their timings, and they can be sure that they are from you since you don't have any other channel. Opening more channels gives you plausible deniability. Also it'd make your single

Re: [Lightning-dev] Peer Selection

2017-12-15 Thread Stan Kladko
Hi Cristian, If there is such a great company, BlockStream. and Blockstream runs a fantastic high quality node, then as a user why should I connect to any node other than Blockstream? In this case I dont need to be online all the time and dont need to monitor the blockchain for anything. I will ju

Re: [Lightning-dev] Peer Selection

2017-12-15 Thread Christian Decker
Let me add some more color to the discussion. If you do not announce the existence of the channel to the wider network you can still receive incoming payments, by simply telling the payment sender about the channel. This is what is being done in the payment request by adding the `r` parameter to t

Re: [Lightning-dev] Peer Selection

2017-12-14 Thread Stan Kladko
_htlcs). If those limits would > be violated by a route attempting to go to you, the route simply fails and > the payer will have to find another route. > > Regards, > ZmnSCPxj > > > Sent with ProtonMail Secure Email. > > Original Message > Subject: R

Re: [Lightning-dev] Peer Selection

2017-12-13 Thread ZmnSCPxj via Lightning-dev
l Message -------- Subject: Re: [Lightning-dev] Peer Selection Local Time: December 14, 2017 12:10 AM UTC Time: December 13, 2017 4:10 PM From: stan.kla...@galacticexchange.io To: ZmnSCPxj lightning-dev@lists.linuxfoundation.org Thank you - this is lots of information !) You would also have to make

Re: [Lightning-dev] Peer selection

2017-12-13 Thread William Casarin
ZmnSCPxj via Lightning-dev writes: > Good morning Stan, > >>How to I discover nodes - is there any UI to see nodes currently >>running on the network ? > > There are no UIs to my knowledge. Current LN programs keep track of this in > their databases, although each one varies in detail. Presumab

Re: [Lightning-dev] Peer Selection

2017-12-13 Thread Stan Kladko
Thank you - this is lots of information !) > You would also have to make your outgoing channels private (not sent by node > gossip) so that others will not route through you. If I would have only a single outgoing channel I would not have to make it private ? Correct? There is no way to route t

Re: [Lightning-dev] Peer selection

2017-12-13 Thread ZmnSCPxj via Lightning-dev
actually supports being run as a Tor hidden service yet, however. Regards, ZmnSCPxj Sent with ProtonMail Secure Email. Original Message Subject: Re: [Lightning-dev] Peer selection Local Time: December 13, 2017 9:04 PM UTC Time: December 13, 2017 1:04 PM From: stan.kla

Re: [Lightning-dev] Peer Selection

2017-12-13 Thread ZmnSCPxj via Lightning-dev
Good morning, >>If you have a reason to open a channel to an arbitrary node, then other nodes >>have a reason to open a channel to an arbitrary node, which might be you. >>Even if the >network grows large, that > also means there are more participants who might >decide, via whatever heuristic,

Re: [Lightning-dev] Peer selection

2017-12-13 Thread Stan Kladko
Thank you Presumably many nodes will be behind firewalls. Are there any firewall traversal mechanisms included (or some type of an overlay network)?) On Wed, Dec 13, 2017 at 2:53 PM, ZmnSCPxj wrote: > Good morning Stan, > >>How to I discover nodes - is there any UI to see nodes currently >>r

Re: [Lightning-dev] Peer selection

2017-12-13 Thread ZmnSCPxj via Lightning-dev
Good morning Stan, >How to I discover nodes - is there any UI to see nodes currently >running on the network ? There are no UIs to my knowledge. Current LN programs keep track of this in their databases, although each one varies in detail. Presumably their individual main developers know how to

Re: [Lightning-dev] Peer selection

2017-12-13 Thread Stan Kladko
I see - thank you. How to I discover nodes - is there any UI to see nodes currently running on the network ? > 3. How do I find out if someone wants to connect to me? > The node connects to yours and sends channel funding messages. In this case there is some kind of an UI where I can accept or

Re: [Lightning-dev] Peer selection

2017-12-12 Thread ZmnSCPxj via Lightning-dev
Good morning Stan, >1. How do I select the nodes to peer with? By whatever selection criteria you wish. In practice, lnd offers an "auto-pilot" where it selects peers to channel with automatically using some heuristic (which I do not know). My understanding, c-lightning will eventually offer

[Lightning-dev] Peer selection

2017-12-12 Thread Stan Kladko
I have been reading LN specs, one question that I am trying to answer is how do I find a peer for my lightning connections. Lets say I want to connect to the network with 6 links, each having $100. 1. How do I select the nodes to peer with? 2. How do I make them to do deposits - ideally I want t