Questions tagged [channels]
43 questions
9
votes
1 answer
Why doesn't c-lightning allow you to open multiple channels with the same peer?
This question was asked by various individuals on Telegram.
The spec (BOLT 2) allows for multiple channels between the same two peers:
Note that multiple channels can operate in parallel, as all channel
messages are identified by either a…
Michael Folkson
- 14,337
- 3
- 11
- 45
8
votes
2 answers
How to convert channel id from c-lightning to lnd?
Sorry for the dumb question, but I'm not very good in lightning network...
So I have two daemons: c-lightning and LND.
Channels from the c-lightning comes like this 505580x1917x1;
Channels from the LND comes like this 556369376388317185;
Is it…
user1692333
- 181
- 3
7
votes
3 answers
How to manually rebalance Lightning Network channels?
I'm running an LND node that has a few dozen channels open to various relevant vendors/routing nodes. There are a couple specific channels that are open with stores that are getting used with most of the balance being on the remote side. I'm unsure…
Chaz
- 73
- 4
5
votes
1 answer
What are 'accounts.sqlite3' and 'emergency.recover' and why might I want to back them up?
accounts.sqlite3 and emergency.recover are created in my ~/.lightning/bitcoin when I launch lightningd - they weren't created there some years ago. What are accounts.sqlite3 and emergency.recover and why might I want to back them up?
John Smith
- 542
- 2
- 11
4
votes
1 answer
Why do Lightning packets include channel ids if forwarding is non-strict?
The onion packets in Lightning, as described in BOLT 4, include short_channel_id's of the channels along the route constructed by the sender. But according to the same spec, the forwarding is non-strict, meaning that if the payment is meant to be…
Sergei Tikhomirov
- 1,430
- 7
- 17
4
votes
1 answer
Do Lightning Channels have to be resolved before a certain time?
I seem to remember that Lightning channels could remain open indefinitely with the introduction of CLTV. Yet, I'm confronted with claims that they time out and coins are lost when they do.
This seems wrong, as when channels time out they should…
Murch
- 71,155
- 33
- 180
- 600
4
votes
1 answer
Can a miner open a Lightning channel with a coinbase output?
Assuming that the funding transaction uses a P2WSH output, can we open a channel by providing that standard 2-of-2 multisig as the coinbase output?
oz21m
- 107
- 4
4
votes
1 answer
What is the Channel ID in 1ML.com?
To look up information of a channel on 1ML.com, I wonder how the channel_id is built.
Reading this question and the corresponding BOLT02, I see that
channel_id = funding_txid XOR funding_output_index
As the funding_txid is a 32 byte string (e.g.…
Theova
- 43
- 3
3
votes
2 answers
What is the unit of time_lock_delta in LND?
LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but what is the unit of this value?
None of the four…
Murch
- 71,155
- 33
- 180
- 600
3
votes
1 answer
Lightning Network `channel_update` message Flag clarification
This is a lnd.log line:
2019-01-11 12:20:13.904 [DBG] PEER: Sending ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=601495532567724033, flag=256, update_time=2019-01-11 12:19:08 +0100 CET) to…
Stefano Angieri
- 155
- 8
3
votes
2 answers
Order of Exchanging Revocation Keys during Lightning Transactions
How do Alice and Bob share their ephemeral private keys simultaneously? If they don't, and let's say Alice first sends Bob her private key. At this point, Bob can broadcast his current commitment transaction, and the previous commitment transaction…
Tejaswi Nadahalli
- 31
- 3
3
votes
1 answer
What is involved in the "database compaction" of a LND node?
As lightning network channels route payments, channel updates require the 2 channel peers (Alice & Bob) to do a round of signing and trade commitment transactions for the most up-to-date channel balance.
Is this the primary reason that the…
oz21m
- 107
- 4
3
votes
1 answer
Is it possible to use the Lighning network without being a middleman/intermediary for others?
A basic question:
A wants to send money to C, but there is no channel between them. But A is connected to B and B is connected to C.
So A sends money through B to C.
But what is necessary to (not) become "B" in this case?
Is it possible to use the…
hardfork
- 2,107
- 1
- 10
- 27
2
votes
1 answer
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/average values for different channel closing types?
Is…
pseudozach
- 264
- 1
- 8
2
votes
1 answer
Does Lightning Network has concept of continuous stream of value?
Examples:
Car insurance: $1000 per year.
Legal consultation: $500 per hour.
Visiting a website: $100 per hour.
Assuming 1 BTC = $8000
1 hour = $100 = 0.0125 BTC = 1,250,000 sat
1 second = 1,250,000 sat / 3600 = 347.22 sat
I could generate a new…
Mars Robertson
- 329
- 5
- 14