Questions tagged [ln-closing-channels]
The ln-closing-channels tag has no usage guidance.
43
questions
1
vote
1
answer
53
views
Sats stuck in "pending" after lightning channel force closure
I had a lightning channel force close because the other node went offline. Its now been 24 days yet the on chain sats are still stuck in "Pending" status and can't be spent. This is the ...
2
votes
1
answer
72
views
to_remote output 0 during unilateral closing of lightning channel
If there is a lightning channel A-B where A had a balance of c coins and B had 0 balance, it could be the case that A makes several off-chain payments and now the balance of A is 0 and balance of B is ...
2
votes
0
answers
32
views
LND how to recover abandoned channel
Years ago I used LND's abandonchannel command to abandon two channels, it was stupid and I didn't know what I was doing at the time.
These are the only sats I ever lost.
Ever since, whenever I use the ...
2
votes
1
answer
55
views
Closing address of a Lightning channel
I would like to know if it is possible when closing a Lightning channel to specify an address to retrieve other than the default one?
Thank you in advance for the answers.
3
votes
1
answer
70
views
How to avoid a force closure of a channel in the future
On May 14th our channel with LNBIG-42 was force closed and has only returned to the wallet minus some fees a few days ago.
https://mempool.space/tx/...
1
vote
1
answer
95
views
Force Closure of a channel with LNBig-42:
On May 14th our channel with LNBIG-42 was force closed. Not sure why but it could have been due to their node performing an update on the same day which caused a few other nodes to also have their ...
1
vote
2
answers
191
views
Channel close fees too low
I closed a lot of channels in recent days - but for some of them I left the confirmation fee too low. I'm hoping the mempool will clear in the coming week and they will confirm.
Is there a way to ...
6
votes
3
answers
127
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
105
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 ...
3
votes
1
answer
65
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
55
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
157
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 ...
1
vote
1
answer
37
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.
14
votes
1
answer
389
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
119
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-...
0
votes
1
answer
808
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&...
4
votes
3
answers
2k
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
313
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
82
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 ...
2
votes
1
answer
2k
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
1k
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
1
answer
497
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
333
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
2
answers
256
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
176
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
155
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
1
answer
118
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
204
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
2
answers
499
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
352
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
85
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
349
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
204
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
151
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 ...
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” ...
2
votes
1
answer
84
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 ...
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.
...
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 ...
6
votes
1
answer
490
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 ...
2
votes
1
answer
225
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 ...
63
votes
3
answers
20k
views
How does the Lightning network work in simple terms?
Could you please describe how the Lightning network is supposed to work?
How does it scale better than pure blockchain transactions?
What are the advantages and disadvantages of Lightning Network ...