7
votes
Accepted
Eltoo: Does the relative locktime on the first UTXO set the lifetime of the channel?
Yes, you’re reading it right. The construction presented here has a limited lifetime since the Settle_0 transaction becomes valid at some point. However, later in the paper, the authors introduce an ...
6
votes
Accepted
Should I keep my Lightning node data around after decomissioning?
My first thought was that from a protocol perspective I don't see why any other node would send coins to your addresses after your node has been decomissioned. However two edge cases come to my mind:
...
6
votes
Why is the default LN channel limit set to 16777215 sats?
The goal was to limit the amount any individual adopter would lose due to bugs in the software. As explained by LN developer Rusty Russell in #bitcoin-lightning FAQ: Why the 0.042 bitcoin limit?:
I ...
6
votes
Accepted
How do route hints affect pathfinding?
Generally speaking there are two use-cases that can be facilitated by route hints:
Tell the sender about channels that they might not know about. Specifically, if the recipient doesn't announce it's ...
4
votes
Accepted
How do I set the our_to_self_delay parameter?
In Lightning the to_self_delay parameter is influenced by your peer. When a node opens a channel to yours, they advertise the minimum they are going to accept.
On Core-Lightning you can set the ...
4
votes
Accepted
Is there any Bitcoin layer (eg. Bitcoin = L1, Lightning = L2, etc.) on which the satoshi (SAT) is divisible?
The native unit of the Bitcoin protocol is the satoshi. All output values in Bitcoin transactions are expressed in whole numbers of satoshis. Bitcoin's protocol does not use any non-integer values for ...
4
votes
Accepted
Running Bitcoin SPV Node
How can I run a Bitcoin SPV node?
You run Bitcoin SPV software. They're often called "lightweight clients" or "lightweight wallets". Several mobile wallets implement SPV ...
4
votes
Eltoo: Does the relative locktime on the first UTXO set the lifetime of the channel?
Thanks for the feedback! I replaced "Update: 0" with a "Funding: 0" which is put on-chain when the channel is opened and the channel parties have both signed the first off-chain &...
3
votes
Eltoo: Does the relative locktime on the first UTXO set the lifetime of the channel?
Current thinking is (I believe) just to have a funding utxo on chain ("Setup_0") which is always spent by some update transaction ("Update_1" etc; there is no "Settle_0") ...
3
votes
How does Lightning multipart payments (MPP) protocol define the amounts per part?
This is not specified by the protocol. Implementations can do what ever pleases them. For example I believe many would use a more or less uniform split into parts given the amount and the number of ...
3
votes
Accepted
How does Lightning Node communicate with Bitcoin node?
Lightning Channels are just unbroadcast cached Bitcoin transactions. So yes, Lightning Nodes need to keep abreast of transactions on the Bitcoin blockchain to notice new channels getting opened, ...
3
votes
Accepted
How does Bitcoin core knows whether CPFP carve out rule is already used?
You can only use the carve-out rule once since it creates a 26th descendant. The CPFP carve out rule can only be used when a transaction has 25 descendants (including itself), not more.
That's the ...
2
votes
Alternative fee functions for the Lightning Network
I'm not familiar with any proposals to add new variables to the fee function. There have been discussions on HODL invoices which would (if enabled on the Lightning Network) require additional fees ...
2
votes
How can I see the on-chain evidence of a lighting channel?
Transactions that create funding outputs have no special characteristics. The funding output is merely some type of segwit-output that can facilitate 2-of-2, i.e. P2SH-P2WSH or P2WSH, with P2TR to ...
2
votes
How can I accept Lightning channels with fewer confirmations in LDK?
According to the BOLT #2 specs, the non-funding counterparty indicates which confirmation depth it is willing to accept via the minimum_depth field in the accept_channel message.
In LDK you can ...
2
votes
How to send lightning payment request to lnurl from Android app with extra comment data?
The fine folks at Alby helped solve this ->
First, add query intent to manifest:
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
...
2
votes
Accepted
Script for Success of HTLC in the Lightning Network
At the present time the Script for a "received HTLC output", that is for an HTLC that is paying us materialized as an output in our own commitment transaction, is (comments mine):
# Is it ...
2
votes
Is there anyway to find a lighting payment request preimage after it is paid if you aren’t the sending or receiving node?
From what I understand, the preimage is publicly revealed when the lightning payment request is paid as a part of the transaction.
The preimage is revealed across the route from the destination back ...
2
votes
In the Lightning Network, what risks if any are associated with allowing a remote node to be offline for too long?
I'm not sure what you mean by the "remote channel". If you don't control the channel and you grant full access to a third party to manage your Lightning node/channel then the worst they can ...
2
votes
Accepted
In the Lightning Network, what risks if any are associated with allowing a remote node to be offline for too long?
You only need be concerned about your own uptime. If your counterparty is offline for extended periods, they are at risk of being cheated by you, but it does not put you at risk.
However, since ...
2
votes
Closing address of a Lightning channel
Yes, it is possible!
In BOLT 2 you have a shutdown message that looks like this
type: 38 (shutdown)
data:
[channel_id:channel_id]
[u16:len]
[len*byte:scriptpubkey]
The scriptpubkey does the trick. ...
2
votes
Would it be feasible to time channel rebalancing by watching miner fees?
Yes. If you run a Lightning node you also have a Bitcoin node which has a history of all transactions. From those one can compute the mining fees of each block (or just look them up in the respective ...
2
votes
What is the correct Bitcoin.org wallet download?
What is the correct Bitcoin.org wallet download?
Bitcoin.org is not an official Bitcoin website, no website is. It long ago ceased to be run by the original developers and was taken over by others. ...
2
votes
Bitcoin smart contract for wallet income distribution based on specific conditions?
I think this question is based on a false premise. The lightning network is not a platform for building novel smart contracts. It is a payment network built on top of the smart contract functionality ...
2
votes
Accepted
Is a channel's 'max_htlc_msat' setting only for outbound HTLCs, or for both sides?
Channel parameters (in some implementations called channel policies) are usually set for the outgoing channels. This may change to some degree with the way how some implementations try to push for ...
2
votes
Accepted
to_remote output 0 during unilateral closing of lightning channel
Can B now unilaterally close the channel given that to_remote output of A is 0 (this amount is below the dust limit) and to_local output is c or will this lead to failing of channel closure?
It can. ...
2
votes
Accepted
bech32 serialized lightning invoice from lnd rest endpoint /v1/invoices
Yes, the payment_request is a BOLT11 invoice, which uses Bech32 encoding.
2
votes
Accepted
Sats stuck in "pending" after lightning channel force closure
This seems to be the same issue as described here. Publishing the tx from my umbrel node with the below fixed it:
./umbrel/scripts/app compose lightning exec lnd lncli wallet publishtx <TX>
2
votes
Accepted
Open Anchor Output channels on CoreLightning
You can set the experimental-anchors option on lightningd to enable experimental support for anchor output channels on Core Lightning.
1
vote
Accepted
Automatic force closure and on chain settlement of expired HTLC
It appears that there is an issue in LND 0.16.2:
https://github.com/lightningnetwork/lnd/issues/7682
It should be fixed in 0.16.3.
BTW, pro tip for routing node operators running LND 0.16.2: Regularly ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-network × 982lightning-network-daemon × 153
lightning-routing × 119
core-lightning × 112
bitcoin-core × 52
hash-time-locked-contract × 50
ln-opening-channels × 45
micropaymentchannels × 42
invoices × 39
ln-closing-channels × 36
channels × 35
transaction-fees × 31
transactions × 30
lightning-rfc × 30
security × 28
ln-channel-balance-management × 28
scalability × 26
bitcoind × 25
full-node × 24
privacy × 22
blockchain × 21
wallet × 20
payment × 20
ln-penalty-transaction × 18
eclair × 17