Questions tagged [ln-closing-channels]

39 questions
13
votes
1 answer

Does eltoo require trusting watchtowers not to close channels?

The way Lightning Network works now, watchtowers maintain a list of penalty transactions to broadcast in case one party attempts to close a channel with an outdated channel state. The watchtower cannot on its own initiate the closing of a…
8
votes
2 answers

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 network before reaching the recipient. The payment then…
7
votes
1 answer

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 the decision. The channel is then succesfully…
6
votes
3 answers

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. Lightning Network builds an additional layer on…
6
votes
1 answer

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 takes care of this? I'm a bit confused of this…
6
votes
3 answers

Eltoo: Does the relative locktime on the first UTXO set the lifetime of the channel?

When we open a lightning channel using eltoo / LN symmetry (standard 2/2 multisig), the setup/funding transaction must be recorded on-chain in order to prevent a "double spend" of the funding inputs (and effectively stealing the channel…
sutterseba
  • 394
  • 1
  • 7
5
votes
2 answers

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 future btc popularity, won’t there be an…
4
votes
1 answer

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 you cannot disable your channels. In some cases…
4
votes
1 answer

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 new Bitcoin node running, but I haven't setup LND…
4
votes
3 answers

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” OP_CHECKSEQUENCEVERIFY OP_DROP
4
votes
3 answers

Can a channel be closed while the funding tx is still stuck in the mempool?

I have attempted to open a channel recently, but accidentally set the fee for the funding transaction too low. Now the funding tx has been stuck in the mempool for over a week. Is there some way to close the channel even though it was never actually…
3
votes
1 answer

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-closed channels to mature. What settings do I need to…
Murch
  • 71,155
  • 33
  • 180
  • 600
3
votes
2 answers

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?
Murch
  • 71,155
  • 33
  • 180
  • 600
3
votes
1 answer

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 where in the code (LND or C-lightning) you could…
3
votes
1 answer

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 (which looks like an emergency lane to my…
1
2 3