Questions tagged [ln-closing-channels]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
17 views

How and When are lightning channels disabled?

On the testnet and some mainnet there are channels which are disabled, so if you try to route a payment through them it failed with this as an error message. Reading through the RPC commands, it seems ...
4
votes
1answer
41 views

How to migrate Lightning (LND) from local laptop to external myNodeBTC node

I am in the process of migrating my LNP/BP stack from a Windows laptop to a dedicated myNodeBTC (RaspPi) device. My node on the Windows laptop was installed using Node Launcher. I already have the ...
2
votes
1answer
41 views

How do I prevent lnd from participating in new channels?

I have a lnd node that I would like to to cycle down completely. I would like to close all its channels and prevent that the node participates in any new channels while I'm waiting for the force-...
1
vote
1answer
39 views

For how long has a channel been inactive?

I would like to close channels for which there is enough evidence that the remote node disappeared and won't come back. So my idea was to check for how long a channel has been inactive, and if it is > ...
1
vote
2answers
61 views

Distinguishing Lightning channels on-chain

Is there a way to tell (probabilistically, maybe) by looking at an on-chain transaction that it is related to Lightning (is [likely to be] a channel opening or closure)?
2
votes
2answers
76 views

Can funds from a LN channel be recovered if both participants suffer data loss?

Is there a way to recover funds if both channel partners suffer loss of the latest channel state? Would both having their static-channel-backups be sufficient to recover the channel?
3
votes
1answer
55 views

How to transmit fraudulent commitment transaction on lightning channel?

I'm trying to simulate a fraudulent commitment transaction on lightning. How would you submit an earlier commitment transaction. It doesn't seem like this can be done with a command. Does anyone know ...
0
votes
1answer
30 views

Dealing with inactive channels

What is the best practice to deal with inactive channels? Do they have an impact on my node's 'reputation' somehow, should I close them after a few days of being inactive? What happens if channel ...
0
votes
2answers
86 views

Lightning - Question about force-closures of channels and its impact on recovering funds

Dear Lightning experts, someone mentioned in context with lightning channels the following things, and I would like to ask you if this statements are true, and if yes, is this a problem in a future ...
1
vote
1answer
151 views

how can i get rid of a zombie channel in LND?

My LN-Node: 023bf99414b3e93ab7463ce60f44cd691f8be3c1ae33a2015fe784c85c36e770cf bitcoind 0.17.1 // LND 0.5.2-beta commit=v0.5.2-beta-rc7 Channel: 598078250466476032 Problem: lncli feereport returns: ...
3
votes
1answer
68 views

Does LN require an on-chain “emergency lane” to mitigate systemic risks?

According to LN social slides, a fee market (in other word: "congested mempool", to my understanding) is good. But, there's systemic risks around penalty mechanism, so some sort of on-chain scaling (...
0
votes
4answers
453 views

How to “cash out” of the Lightning Network without closing channels?

I am working on an ecommerce site that accepts lightning payments and was curious about how to "cash out" to pay vendors without closing channels to customers. I was planning to run two LN LND nodes ...
1
vote
1answer
138 views

Why is my LND node closing channels?

I have noticed when running lncli closedchannels, that I have some channels that are closed by my node (close_type: local_force_close). I am quite sure I have not initiated this manually myself. Is ...
0
votes
1answer
81 views

How is the recipient address for closing a Lightning Channel derived?

I've recently opened a payment channel in the Bitcoin testnet LN. The funding TX ded9fc8b1ee5506037e057a37057a598c362c4b698a40076e75ea88e2ae8a2a2 decoded: { "txid": "...
4
votes
1answer
1k views

Closing a channel in Lightning Network

I have some doubts about the closure of a lightning network channel. As far as I know, there can be (al least) 4 different scenarious: one node decides to close the channel, and the other one accept ...
5
votes
2answers
104 views

Lightning incentive for micro-cheating?

New to Lightning, and I'm having a hard time understanding something about the incentive system. So, if block sizes remain fixed, and transaction fees become prohibitively expensive one day, owing to ...
2
votes
2answers
480 views

Lightning close-channel transaction example?

From this article, I can understand that a punishment-based bidirectional payment channel (the type used by Lightning) would contain roughly this bitcoin script as one of the outputs: OP_IF “+7 days” ...
2
votes
1answer
59 views

How do Lightning channels interact with the blockchain?

Does opening a channel mean that a 2-to-2 multisig address (3xxxx) is created? And then both parties put money into the address? What if someone pays money to the address on main chain while the ...
4
votes
2answers
634 views

How is a doublespend prevented in the Lightning Network?

How Lightning Network handles double-spend? What will happen when the other person is not available online to enforce the integrity of the transactions? PFB my understanding of the Lightning Network. ...
7
votes
2answers
2k views

When running a Lightning Network hub, who pays the fees when a transaction has to be broadcast to the blockchain?

I've been educating myself on how the Lightning Network protocol works, and I have some questions. Let's say that a user sends a small payment to someone and it makes multiple hops through the ...
5
votes
1answer
426 views

In a Lightning Network who commits to the blockchain the final transaction?

So let's imagine a Lightning Network made up of thousand of nodes. Transactions are routed until the moment comes where all the channels need to be closed and commited I presume. Which node actually ...