2022 Developer Survey is open! Take survey.

Questions tagged [ln-closing-channels]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
24 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.
user avatar
  • 13
11 votes
1 answer
326 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 ...
user avatar
1 vote
1 answer
43 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-...
user avatar
  • 62.5k
0 votes
1 answer
315 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&...
user avatar
3 votes
3 answers
938 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 ...
user avatar
2 votes
0 answers
204 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 ...
user avatar
1 vote
1 answer
60 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 ...
user avatar
  • 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/...
user avatar
4 votes
1 answer
553 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 ...
user avatar
  • 95
4 votes
1 answer
399 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 ...
user avatar
2 votes
2 answers
167 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-...
user avatar
  • 62.5k
1 vote
2 answers
163 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 > ...
user avatar
1 vote
2 answers
122 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)?
user avatar
3 votes
2 answers
119 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?
user avatar
  • 62.5k
3 votes
1 answer
85 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 ...
user avatar
1 vote
1 answer
129 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 ...
user avatar
  • 155
0 votes
2 answers
286 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 ...
user avatar
1 vote
1 answer
295 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: ...
user avatar
3 votes
1 answer
80 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 (...
user avatar
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 ...
user avatar
1 vote
1 answer
238 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 ...
user avatar
0 votes
1 answer
159 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": "...
user avatar
6 votes
1 answer
4k 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 ...
user avatar
5 votes
2 answers
138 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” ...
user avatar
  • 1,673
2 votes
1 answer
77 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. ...
user avatar
  • 307
7 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 ...
user avatar
  • 171
6 votes
1 answer
475 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 ...
user avatar
  • 5,114
2 votes
1 answer
213 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 ...
user avatar
  • 62.5k