Bitcoin Forum
April 24, 2024, 02:02:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ... 78 »
  Print  
Author Topic: The Lightning Network FAQ  (Read 32046 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (37 posts by 1+ user deleted.)
Wind_FURY
Legendary
*
Offline Offline

Activity: 2898
Merit: 1817



View Profile
January 26, 2020, 07:43:11 AM
 #181

Who among the consistent Lightning users here have been running a node, specialized specifically for routing transactions/providing liquidity, how long have you been running it, and what's the averge cost of running it?

I've been running one (C-lightning) for almost two years now, and it costs me barely nothing : just setup on top of my old computer which already ran core.
So it costed me a low end computer which I had for free (I'm in the process of changing it, but I'm not that well connected after all) and electricity cost for an idle computer.

The bigger cost is the coins to open channels.


Practically speaking, how long, do you believe, can you stake your Bitcoins, and altruistically continue running your node, rebalance channels, to provide liquidity without incentives?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
1713924159
Hero Member
*
Offline Offline

Posts: 1713924159

View Profile Personal Message (Offline)

Ignore
1713924159
Reply with quote  #2

1713924159
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713924159
Hero Member
*
Offline Offline

Posts: 1713924159

View Profile Personal Message (Offline)

Ignore
1713924159
Reply with quote  #2

1713924159
Report to moderator
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
January 26, 2020, 10:41:25 AM
 #182

Who among the consistent Lightning users here have been running a node, specialized specifically for routing transactions/providing liquidity, how long have you been running it, and what's the averge cost of running it?

I've been running one (C-lightning) for almost two years now, and it costs me barely nothing : just setup on top of my old computer which already ran core.
So it costed me a low end computer which I had for free (I'm in the process of changing it, but I'm not that well connected after all) and electricity cost for an idle computer.

The bigger cost is the coins to open channels.


Practically speaking, how long, do you believe, can you stake your Bitcoins, and altruistically continue running your node, rebalance channels, to provide liquidity without incentives?
I've been doing this for more than a year now, with rebalance fees at my charge. I've stopped doing this by closing channels to peers charging too much fees and connecting to peers charging little fees (which I found thanks to a little plugin I wrote). This way, not only I'm no longer altruistically running my node (since I make use of rebalanced channels) but I can also earn some (milli)sats if I happen to charge less fees than my neighbors.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6234


Crypto Swap Exchange


View Profile WWW
January 26, 2020, 03:05:07 PM
 #183

My node just started throwing hardware errors.
I am in the process of closing all the channels that I had open. I know there were some people here who I had some open with, if there are any problems let me know, should just close gracefully but if they don't I'm going to force close them.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Wind_FURY
Legendary
*
Offline Offline

Activity: 2898
Merit: 1817



View Profile
January 30, 2020, 10:30:31 AM
 #184

Who among the consistent Lightning users here have been running a node, specialized specifically for routing transactions/providing liquidity, how long have you been running it, and what's the averge cost of running it?

I've been running one (C-lightning) for almost two years now, and it costs me barely nothing : just setup on top of my old computer which already ran core.
So it costed me a low end computer which I had for free (I'm in the process of changing it, but I'm not that well connected after all) and electricity cost for an idle computer.

The bigger cost is the coins to open channels.


Practically speaking, how long, do you believe, can you stake your Bitcoins, and altruistically continue running your node, rebalance channels, to provide liquidity without incentives?

I've been doing this for more than a year now, with rebalance fees at my charge. I've stopped doing this by closing channels to peers charging too much fees and connecting to peers charging little fees (which I found thanks to a little plugin I wrote). This way, not only I'm no longer altruistically running my node (since I make use of rebalanced channels) but I can also earn some (milli)sats if I happen to charge less fees than my neighbors.


The coins you collect from routing fees can support the expenses/costs of running your Lightning node? Hard to believe, but that's good.

Plus do you think that Lightning's fee-structure now is in its final form? It won't increase depending on demand? Because it's very hard to assume that it won't if the economic cost is scarce.


██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
January 30, 2020, 12:40:43 PM
 #185

--

The coins you collect from routing fees can support the expenses/costs of running your Lightning node? Hard to believe, but that's good.
[/quote]

It's not hard to believe that the fees you collect from forwarding can support your paying fees. You just need to not connect to 4999ppm fees charging peers...
Moreover I've no infrastructure cost. And not doing altruistically takes the service or instant non-censurable payments into account Wink.

Plus do you think that Lightning's fee-structure now is in its final form? It won't increase depending on demand? Because it's very hard to assume that it won't if the economic cost is scarce.

I'm not sure so.. I don't know.
Wind_FURY
Legendary
*
Offline Offline

Activity: 2898
Merit: 1817



View Profile
January 31, 2020, 08:21:09 AM
 #186

Quote

--

The coins you collect from routing fees can support the expenses/costs of running your Lightning node? Hard to believe, but that's good.

It's not hard to believe that the fees you collect from forwarding can support your paying fees. You just need to not connect to 4999ppm fees charging peers...
Moreover I've no infrastructure cost. And not doing altruistically takes the service or instant non-censurable payments into account Wink.

Plus do you think that Lightning's fee-structure now is in its final form? It won't increase depending on demand? Because it's very hard to assume that it won't if the economic cost is scarce.

I'm not sure so.. I don't know.


Visualize this. Bitcoin's adoption rate reached 10% of the world's population, the Lightning Network is the standard for instant payment, demand for inbound capacity has increased exponentially, economic cost for it is a scarce/valuable asset.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
January 31, 2020, 09:53:38 AM
Last edit: January 31, 2020, 10:06:49 AM by iasenko
 #187

I haven't seen any info about the announcing of Strike by Zap here on the forum except in the WO thread. Tried searching for it but 0 interest. It's a good new for the whole LN and Bitcoin in general so why not share the info here. I'll just quote the post from WO thread Smiley

Quote
an application that allows you to make Lightning payments with your bank account or debit card. Using Strike requires the following: a debit card or bank account. That’s it; no wallet, no node, no channels, no swaps, no liquidity management, no anything.

https://medium.com/@JimmyMow/announcing-strike-by-zap-4f578c7c8984

Quote
Bank accounts and debit cards can now speak to nodes all over the world, and nodes all over the world can now speak to bank accounts and debit cards. The possibilities are endless and the sky is the limit.

pretty good Tongue




edit https://twitter.com/JackMallers/status/1222941238279708674?s=20

darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
January 31, 2020, 10:24:13 AM
 #188

Quote

--

The coins you collect from routing fees can support the expenses/costs of running your Lightning node? Hard to believe, but that's good.

It's not hard to believe that the fees you collect from forwarding can support your paying fees. You just need to not connect to 4999ppm fees charging peers...
Moreover I've no infrastructure cost. And not doing altruistically takes the service or instant non-censurable payments into account Wink.

Plus do you think that Lightning's fee-structure now is in its final form? It won't increase depending on demand? Because it's very hard to assume that it won't if the economic cost is scarce.

I'm not sure so.. I don't know.


Visualize this. Bitcoin's adoption rate reached 10% of the world's population, the Lightning Network is the standard for instant payment, demand for inbound capacity has increased exponentially, economic cost for it is a scarce/valuable asset.

Ok, I think (/hope?) that at some point the demand will switch from inbound to outbound capacity.
fillippone
Legendary
*
Offline Offline

Activity: 2142
Merit: 15384


Fully fledged Merit Cycler - Golden Feather 22-23


View Profile WWW
January 31, 2020, 10:34:06 AM
 #189

I haven't seen any info about the announcing of Strike by Zap here on the forum except in the WO thread. Tried searching for it but 0 interest. It's a good new for the whole LN and Bitcoin in general so why not share the info here. I'll just quote the post from WO thread Smiley


WO thread is a greatly undervalued source of information.
Having said that, I posted something in the Italian section about this, and in my very humble opinion is a big step ahead because I recall, when I used to do my monthly commentaries, to write LN needed a decent user experience to be in real competition to Credit Cards (LN main competitor, i think).
This is a big step in the right direction: flawless execution, limited/no existent hassle.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6234


Crypto Swap Exchange


View Profile WWW
January 31, 2020, 12:24:42 PM
Last edit: January 31, 2020, 01:34:36 PM by DaveF
 #190

I haven't seen any info about the announcing of Strike by Zap here on the forum except in the WO thread. Tried searching for it but 0 interest. It's a good new for the whole LN and Bitcoin in general so why not share the info here. I'll just quote the post from WO thread Smiley

Quote
an application that allows you to make Lightning payments with your bank account or debit card. Using Strike requires the following: a debit card or bank account. That’s it; no wallet, no node, no channels, no swaps, no liquidity management, no anything.

https://medium.com/@JimmyMow/announcing-strike-by-zap-4f578c7c8984

---SNIP---

Yeah, I saw that yesterday and wanted to play with it a bit before commenting on it. Going to see if I can get a few minutes this weekend and take a look.
I hope it's quick and simple, I have read nothing about setting it up. Not because I fear difficult, but I just don't have time.

Side note, my node is back up and stable for a few days now so if you were one of the people I closed a channel to feel free to open it again I think it should be good for a while now.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
January 31, 2020, 01:22:02 PM
 #191

@ DaveF You messed up the quotes, man. Wink I just didn't want to spam the thread with discussions here so that's why I created a new thread for Strike here so you are welcome to move the discussion there. Smiley

If you guys think that it's time for a LN subsection, give your support here .

DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6234


Crypto Swap Exchange


View Profile WWW
February 01, 2020, 02:11:09 PM
 #192

With the acknowledgement that I should probably ask this on github:
Is there a way in lnd to set the option of max channel size that can be opened based on the node that is opening it?

i.e.:
You are an unknown node you can open up to 100k sat
I know you and have your node listed you can open up to 1M sat


Thanks,
Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rath_ (OP)
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
February 01, 2020, 05:55:34 PM
Merited by DaveF (2), ABCbits (1)
 #193

Is there a way in lnd to set the option of max channel size that can be opened based on the node that is opening it?

As far as I know, the answer is no. You can only change the minimum size of any incoming channel in the config file (minchansize). It applies to every node; you can't whitelist them.
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6234


Crypto Swap Exchange


View Profile WWW
February 02, 2020, 01:10:46 AM
 #194

Is there a way in lnd to set the option of max channel size that can be opened based on the node that is opening it?

As far as I know, the answer is no. You can only change the minimum size of any incoming channel in the config file (minchansize). It applies to every node; you can't whitelist them.

Well that is annoying. I can't believe that nobody thought someone might not want to have some unknown node open a massive channel to them.
Seems to be something that should be looked at. Unless I am missing something it does seem to open up the possibility of abuse.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16541


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 02, 2020, 09:23:23 AM
 #195

Well that is annoying. I can't believe that nobody thought someone might not want to have some unknown node open a massive channel to them.
Seems to be something that should be looked at. Unless I am missing something it does seem to open up the possibility of abuse.
If someone opens a channel that eats up your entire node's sending capacity, shouldn't that be handled by routing fees? Those should be high enough to pay for rebalancing your channels.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
February 02, 2020, 10:59:19 AM
Last edit: February 02, 2020, 01:13:50 PM by darosior
Merited by ABCbits (3), DaveF (2), Rath_ (2)
 #196

Hi Dave,
Well that is annoying. I can't believe that nobody thought someone might not want to have some unknown node open a massive channel to them.

Why not ? A channel opening to you does not require anything from your side (apart few bytes of RAM but....), people usually strive to have big inbound channels.

Seems to be something that should be looked at. Unless I am missing something it does seem to open up the possibility of abuse.
FWIW that's again somehing that can be done with C-lightning plugins, it's called the `openchannel` hook.

If someone opens a channel that eats up your entire node's sending capacity, shouldn't that be handled by routing fees? Those should be high enough to pay for rebalancing your channels.
But a channel opening to you doesnt eat your sending capacity ?.. It just increases your receiving capacity (and potentially the number of routes we can reach you through).
Baofeng
Legendary
*
Offline Offline

Activity: 2576
Merit: 1655



View Profile
February 02, 2020, 12:55:38 PM
 #197

Pardon my ignorance guys, But any of you heard about this so called: LSATs: Pseudonymous Authentication using Bitcoin Lightning Payments? What's your thoughts about this one? Good idea or what?

https://medium.com/tierion/lsats-pseudonymous-authentication-using-bitcoin-lightning-payments-459e209b4b36

███████████████████████
████████████████████
██████████████████
████████████████████
███▀▀▀█████████████████
███▄▄▄█████████████████
██████████████████████
██████████████████████
███████████████████████
█████████████████████
███████████████████
███████████████
████████████████████████
███████████████████████████
███████████████████████████
███████████████████████████
█████████▀▀██▀██▀▀█████████
█████████████▄█████████████
███████████████████████
████████████████████████
████████████▄█▄█████████
████████▀▀███████████
██████████████████
▀███████████████████▀
▀███████████████▀
█████████████████████████
O F F I C I A L   P A R T N E R S
▬▬▬▬▬▬▬▬▬▬
ASTON VILLA FC
BURNLEY FC
BK8?.
..PLAY NOW..
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6234


Crypto Swap Exchange


View Profile WWW
February 02, 2020, 01:16:36 PM
Last edit: February 02, 2020, 01:46:57 PM by DaveF
Merited by ABCbits (1), darosior (1)
 #198

Hi Dave,
Well that is annoying. I can't believe that nobody thought someone might not want to have some unknown node open a massive channel to them.

Why not ? A channel opening to you does not require anything from your side (apart few bytes of RAM but....), people usually strive to have big inbound channels.

99% of the time it probably would not matter. I was doing an test of some stuff during the week [yeah I know use testnet for testing] and 3 places had opened MASSIVE channels to me. I thought / figured at the time it was a mistake. In the time I have been playing around with LN in TOTAL I have not sent & received in total as much as any one of those channels. And then an hour or 2 later they closed them.

I mentioned it to someone Friday who said, "yeah I had the same thing happen a week or 2 ago" he also mentioned that it did not appear on 1ml or other LN explorers. I did not check on mine. Just big open followed a bit later by a big close. So somebody is playing around with something. Which is fine but, I just did not expect it and was wondering if there was a way to prevent it.

Seems to be something that should be looked at. Unless I am missing something it does seem to open up the possibility of abuse.
FWIW it worth that's again somehing that can be done with C-lightning plugins, it's called the `openchannel` hook.

That is probably what I am look for. Thanks.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
amishmanish
Legendary
*
Offline Offline

Activity: 1904
Merit: 1158


View Profile
February 02, 2020, 02:18:26 PM
 #199

-snip

That's an overkill for a simple Lightning Network node. By default, one have 24 hours to bring back one's node online before forced channel closure (old channel state might be broadcast to the network).
I followed the discussion for a few pages but couldn't find the question that came to my mind on seeing this. My ISP has these issues where the connection could be gone for more than 24 hrs. (In reality, the ADSL lines are lying exposed on the ground and the hand-twisted connection frequently gets sheared by passing cars, marauding kids and I'm not even joking). If i run an LN node and open a channel by putting some Sats and making a funding transaction, does the onus now lies on me to ensure that it is always online (or online atleast once in 24 hours)??

If for some reason, i happen to just leave house or the neighbor's kid decide to pull on the lines, would that mean forced channel closure leading me to pay on-chain fee unnecessarily?
Sorry if i have not googled for this. I'd like to read more about the challenges and roadmap of LN.
Rath_ (OP)
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
February 02, 2020, 03:26:57 PM
Merited by LoyceV (2), ABCbits (1)
 #200

If for some reason, i happen to just leave house or the neighbor's kid decide to pull on the lines, would that mean forced channel closure leading me to pay on-chain fee unnecessarily?

A forced channel closure occurs when one of the parties wants to close the channel without any negotiations. This is mostly used when the other party is offline. You misunderstood one thing. It doesn't happen automatically after 24 hours. You can be offline for months and nothing will happen as long as the other party doesn't close the channel while you are absent.

Most of the people who run LN nodes don't close offline channels forcefully the moment they go down. I used to wait a couple days before doing so. Once one of the parties decides to close the channel, you have (by default) 24 hours to come back online in order to check if the other person didn't broadcast old state of your channel. I don't think many people know how to exploit it intentionally.

I am not sure about other implemantations but LND allows you to set up a watchtower which checks if the channel is closing and if the other party didn't cheat. You can set it up on a cheap VPS, but you don't have to worry about it if you don't have much money locked up in the channel.

Note: The other party can't simply steal all of your money. You would have to push the coins to their side by for example buying something and then receive payment from someone through that channel. In the meantime, the other person would have to make a copy of the channel's state.
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 ... 78 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!