Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

Force-closure of unknown channel: What do status `Loaded from database` and the state AWAITING_UNILATERAL mean?

I noticed that the majority of my lightning payments fail despite increasing the fee. It's been like this over the last two months. Investigating this matter, I found an inactive channel in the output ...
John Smith's user avatar
3 votes
0 answers
93 views

How to force close a channel at the original state, for a good cause

A few months ago I created a payment channel from my desktop node, on LND, to my mobile node, on Blixt. Then I tested a few payments between the nodes, and the final balance on the mobile phone is now ...
user141713's user avatar
1 vote
0 answers
22 views

Force closes reasons

What are the different reasons for a Lightning Network node to force a channel closure automatically, without user interaction?
polespinasa's user avatar
0 votes
1 answer
49 views

What effect on Lightning Network would be of setting dustrelayfee to 0.003 by all nodes?

Having thought a lot of spam bloating my node, I cannot but wonder of what effect on Lightning Network would be of setting dustrelayfee to 0.003 by all nodes, instead of the default value of 0.00003. ...
John Smith's user avatar
0 votes
0 answers
28 views

How to use chantools pullanchor?

The official documentation describes very little about how to do this, and we would like to get more information, in particular how to count <vout
Oleh Baidiuk's user avatar
1 vote
0 answers
28 views

Why does a single expired HTLC with an unresponsive peer cause automatic force closure of the whole channel?

As far as I understand: the expiration of a single HTLC in a payment channel with an unresponsive partner causes the whole payment channel to force close (Behaviour A). This has been discussed, for ...
user141713's user avatar
3 votes
0 answers
60 views

Stuck low-feerate transaction after forced closed channel

Someone cooperatively closed a channel with me, then forced closed it later. It has not confirmed. In fact, it is not even showing up in mempool, which says "waiting for transaction". I'm ...
Ryan's user avatar
  • 31
1 vote
1 answer
321 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 ...
j5s's user avatar
  • 31
2 votes
1 answer
84 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 ...
Subhra Mazumdar's user avatar
2 votes
1 answer
103 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.
Retro_pex's user avatar
  • 125
3 votes
1 answer
273 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/...
Orange_Bitcoin's user avatar
1 vote
1 answer
183 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 ...
Orange_Bitcoin's user avatar
6 votes
3 answers
144 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 ...
sutterseba's user avatar
2 votes
1 answer
161 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 ...
xor's user avatar
  • 97
3 votes
1 answer
87 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?
Tasos Sidiropoulos's user avatar
1 vote
1 answer
66 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 ...
Sharples's user avatar
2 votes
0 answers
209 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 ...
Steve's user avatar
  • 171
1 vote
1 answer
42 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.
RobChab's user avatar
  • 13
15 votes
1 answer
404 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 ...
Vojtěch Strnad's user avatar
0 votes
1 answer
979 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&...
alec_djinn's user avatar
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 ...
PyrolitePancake's user avatar
2 votes
0 answers
354 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 ...
statusquont's user avatar
1 vote
1 answer
97 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 ...
M_R's user avatar
  • 37
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/...
pseudozach's user avatar
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 ...
Oonah's user avatar
  • 95
1 vote
2 answers
278 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 > ...
Dalit Sairio's user avatar
1 vote
2 answers
199 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)?
Sergei Tikhomirov's user avatar
3 votes
2 answers
175 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?
Murch's user avatar
  • 77.8k
3 votes
1 answer
129 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 ...
Joel Davidson's user avatar
0 votes
2 answers
568 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 ...
johnsmiththelird's user avatar
3 votes
1 answer
86 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 (...
Chris Chen's 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 ...
Frank Lybord's user avatar
1 vote
1 answer
389 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 ...
Dmitry Laptev's user avatar
0 votes
1 answer
225 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": "...
Haddar Macdasi's user avatar
7 votes
1 answer
6k 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 ...
Bruce Wayne's user avatar
5 votes
2 answers
156 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” ...
knocte's user avatar
  • 1,784
2 votes
1 answer
85 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
3k 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. ...
Holmes's user avatar
  • 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 ...
Anthony's user avatar
  • 181
6 votes
1 answer
498 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 ...
Luca Matteis's user avatar
  • 5,242
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 ...
Murch's user avatar
  • 77.8k
65 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 ...
Murch's user avatar
  • 77.8k