Questions tagged [ln-closing-channels]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
30 views

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 ...
2 votes
1 answer
55 views

How does Lightning Node communicate with Bitcoin node?

When the channel is closed between Lightning Nodes, how is the closing transaction sent to the Bitcoin network? Does that mean to run a Lightning Node, you also have to run a Bitcoin node on your ...
  • 87
3 votes
1 answer
42 views

How do I set the our_to_self_delay parameter?

In Core-Lightning, the default value for our_to_self_delay is set to 600. How do I change this value?
1 vote
1 answer
39 views

Identifying Closing Balances on Lightning

Is it possible given on-chain and gossip protocol data to derive closing channel balances? For example, the following channel between ACINQ and magnetron has two txouts but unsure who's balance is ...
2 votes
0 answers
100 views

What happens if a Lightning channel close transaction is evicted from the mempool?

I recently had a cooperative close of a Lightning channel and the two Lightning nodes agreed a fee rate of about 1 sat/vbyte for the closing transaction. (This was fine by me; I always like to keep ...
  • 149
1 vote
1 answer
30 views

Open/Close LN tx size

What is the average size of a on chain closing LN transaction ? It seems to be 140vb but I don't find any source.
  • 13
12 votes
1 answer
354 views

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 ...
1 vote
1 answer
76 views

What is the exact size and weight of a 2-of-2 P2WSH input?

I'm proofreading an article mentioning the cost reduction of P2TR for Lightning channels in comparison to P2WSH. To that end, I'm looking for the precise weight, vsize and serialized length of a 2-of-...
  • 68.6k
0 votes
1 answer
603 views

Lightning-Network Channel not being closed and balance in "limbo"

My node Caffeine has a channel in pending status (close txid: 0de535ea74d72a952157640187b5a207fe977870a5c9b92f0aa99b9707c94779) with The Cave since months! My local balance is stuck in a "limbo&...
3 votes
3 answers
1k views

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 ...
2 votes
0 answers
261 views

Lightning Node (MyNode) gone missing. How to recover funds?

I had a RaspPi/MyNode with a few LND channels open. The node has unfortunately gone missing/stolen and I'm trying to figure out the best way to get the funds back. I have access to my seed words for ...
1 vote
1 answer
70 views

How can a closing transaction in LN have more than 2 outputs?

I collected some data regarding closing transactions of channels in LN and I see that a small percentage of them have more than two outputs. How is this possible? An example of such closing ...
  • 37
2 votes
1 answer
1k views

When will my Lightning channel be closed?

I have a force closed channel from lnbig.com and it has been pending in closing state for over 2 weeks (42600+ blocks). When might it be closed so I can request a new one? What are the default/...
4 votes
1 answer
906 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 ...
  • 95
4 votes
1 answer
461 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 ...
3 votes
1 answer
252 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-...
  • 68.6k
1 vote
2 answers
225 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
2 answers
155 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)?
3 votes
2 answers
138 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?
  • 68.6k
3 votes
1 answer
104 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 ...
1 vote
1 answer
177 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 ...
  • 155
0 votes
2 answers
415 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
1 answer
334 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
1 answer
82 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
4 answers
2k 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
1 answer
305 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
1 answer
180 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": "...
7 votes
1 answer
5k 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
2 answers
144 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 ...
user avatar
4 votes
3 answers
1k 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” ...
  • 1,726
2 votes
1 answer
81 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 ...
user avatar
6 votes
3 answers
2k 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. ...
  • 317
8 votes
2 answers
3k 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 ...
  • 181
6 votes
1 answer
481 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 ...
  • 5,142
2 votes
1 answer
221 views

Would it be possible for miners to discriminate Lightning Network transactions?

What do transactions creating LN payment channels and resolving them look like? Are Lightning Network transactions distinguishable from other multisignature transactions? Would it be possible for ...
  • 68.6k