9
votes
What are the downsides of Hodl Invoices?
I didn't attend the conference but here is my take on Hodl invoices. In a normal Lightning payment, the sender pays an invoice which contains the payment hash and the payee releases the pre-image to ...
8
votes
How to convert channel id from c-lightning to lnd?
The specification of the short_channel_id describes the format as follows:
The short_channel_id is the unique description of the funding transaction. It is constructed as follows:
the most ...
7
votes
Accepted
Why is last channel's expiry different in Lightning Network Routes?
After some searching through the BOLT documents and talking with the lnd slack community, I found an answer:
B->C. If B were to send 4,999,999 millisatoshi directly to C, it would
neither charge ...
7
votes
Accepted
How do 'Sphinx' invoice-less payments on the Lightning Network work?
Usually a merchant will generate a (psuedo)random 32-byte value and hash it. This becomes the payment_hash which identifies the payment in the network and is transferred to the purchaser in an invoice....
7
votes
Running lightning in prune mode
Update(2021): Since version 0.13 pruned nodes are officially supported although they cause performance penalty and higher network usage.
It is possible to run Lightning (both LND and c-lightning) with ...
6
votes
Accepted
Make payments Lightning without Invoice?
With the current specification it is not possible to make a spontaneous payment to somebody on the network. However, this will likely change very soon, as it is one of the features on the roadmap and ...
6
votes
Accepted
How to obtain the Channel_ID from the Short_Channel_ID?
The short_channel_id points to the funding transaction of the payment channel by the format blockheight x transaction_index x output where the x is used to separate the three values, and the three ...
6
votes
Accepted
What is the difference between wallet balance, local balance and remote balance in the Lightning Network?
Walletbalance is showing your on-chain balance of a lightning wallet.
Regarding channel balances (locked on layer 2 and not available onchain):
local balance is your local balance that you can spend ...
6
votes
How exactly do I use Lightning Network? Does it even actually exist?
If you recommend "Mastering the Lightning Network" in chapter 2 you find a table of possible Lightning Network implementations:
Application
Device
Lightning Node
Bitcoin Node
Keystore
...
6
votes
Accepted
What is the October 2022 bug in LND, what caused it and what would prevent a similar bug in future?
There was a bug in LND and btcd which was exposed by a perfectly valid 998-of-999 Taproot multisig transaction broadcast by Burak on October 9th 2022. This transaction met the Taproot consensus rules ...
5
votes
How do hodl invoices work?
Generally when paying an invoice a chain of htlcs from the sender via some path on the network to the recipient is set up. The htlcs lock in by exchanging signatures on every local channel. Now there ...
5
votes
Accepted
invoice amount is 1200000 but I paid 1201035. What is 1035?
As you mentioned your question is almost a duplicate of Why does my c-lightning node pay more than the invoice plus routing fees?
But you asked if there is a way of knowing how much you will overpay ...
5
votes
Accepted
How to recover funds from a force-closed Lnd lightning channel?
In c-lightning the per commitment point is derived from the hsm_secret using per_commit_point from:
The node id / public key (can be found with listfunds, until the channel is purged some time after ...
5
votes
Accepted
Transaction size limit across a single path in a Lightning Network and fee earned
The maximum size for HTLC's are currently defined by max_htlc_value_in_flight_msat and is roughly 42mBTC. The max_concurrent_htlc that you mention seems to be the max_accepted_htlcs and states how ...
5
votes
What is the difference between wallet balance, local balance and remote balance in the Lightning Network?
In each of your channels, you have a local balance. This is the balance that is yours in that channel. The counterparty of the channel has the remote balance. All lightning transactions change these ...
4
votes
When opening a LN channel using LND, what does 'push-amt' do?
The money now belongs to the counterparty in the channel you opened. In every one of your channels, whether you opened them or they were opened to you, "local balance" refers to your spendable/...
4
votes
Accepted
Share balance between lnd and bitcoind
As far as I know, this is not possible. lnd and bitcoind are two separate daemons, that interact with the bitcoin network in different ways.
The only way I could think of doing this would be to ...
4
votes
Accepted
Can you run a bitcoin lightning node on a raspberry pi zero?
Will a bitcoin lightning node run on a raspberry pi zero?
This probably depends on what you are doing on the node, how much traffic it gets, etc. I have one running on a Raspberry Pi 3B with ...
4
votes
Accepted
lightning daemon rejects bitcoind RPC variables in lnd.conf
Found out that any bitcoind.XXX options need to be under a [Bitcoind] heading. Working lnd.conf is as follows:
[Application Options]
debuglevel=info
debughtlc=false
maxpendingchannels=5
alias=...
4
votes
How is node capacity determined on 1ML.com?
Since 1ml is closed source I obviously cannot be 100% sure how it calculates the capacity of your node. But from my experience I can say that it does it in the same way as any other lightning node do ...
4
votes
Accepted
Lightning Network `channel_update` message Flag clarification
The flags field (2 bytes) has been split into two different (1 byte) fields, the message_flags (most significant bits) and the channel_flags field (least significant bits). Hence the flags value ...
4
votes
Accepted
How to send payment through a predefined route?
TL;DR. You need to specify --final_cltv_delta=144 option in the lncli queryroutes command.
Longer answer... When payment is routed through Lightning Network, each intermediate node has a potential ...
4
votes
Accepted
What is the unit of time_lock_delta in LND?
The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.
Full details are described in BOLT2 # CLTV expiry delta.
4
votes
Accepted
Why is my lighting node not routing any transaction?
Obviously for questions like this I can't give a 100% certain answer as I would have to look at your nodes logfiles and configuration / state. However I can make some (hopefully) educated guesses and ...
4
votes
Accepted
Lightning Network : Pay a Bolt11 Invoice in multiple Payments
Currently, no. The receiver will reject an attempt for less than the requested amount and fail with incorrect_or_unknown_payment_details.
Each invoice has a payment_hash which a payment corresponds ...
4
votes
Accepted
How do I find the nodeid of the node issuing a lightning network invoice?
Lightning invoices are signed by the node issuing the invoice in order to verify the signature we need to know the node id. Thus it is included in the invoice. Lightning nodes provide an API to decode ...
4
votes
Accepted
Can I send/receive payments but prevent forwarding payments in Lightning Network?
Yes, there are basically two ways to avoid becoming a forwarding node:
Do not announce your channels, and keep them private
Reject any incoming HTLC that is not destined for you
The first is ...
4
votes
Accepted
Is it possible to generate an invoice for my lnd without having a connection to my lnd?
Yes this is theoretically possible as described in this video https://youtu.be/bihYeAeNi0g The idea is to have a deterministic way of generating preimages and entangling the lightning node with the ...
4
votes
Accepted
Lost funds on my lightning node?
Yes. Unfortunately this is true. Using push-amt means that you send over an amount to the other side wich they own. While it takes place offhand it is final in a similar way as sending Bitcoin to an ...
4
votes
Accepted
Lightning Network: How was the maximum allowed HTLCs in flight computed?
The rationale is given in BOLT #2:
max_accepted_htlcs is limited to 483 to ensure that, even if both sides send the maximum number of HTLCs, the commitment_signed message will still be under the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
lightning-network-daemon × 237lightning-network × 159
lightning-routing × 34
bitcoind × 22
core-lightning × 22
bitcoin-core × 17
ln-closing-channels × 14
channels × 14
ln-opening-channels × 13
lncli × 12
lightning-rfc × 10
eclair × 7
ln-channel-balance-management × 7
network × 6
full-node × 6
invoices × 6
security × 5
windows × 5
fee-estimation × 5
hash-time-locked-contract × 5
grpc × 5
wallet × 4
nodes × 4
micropaymentchannels × 4
watchtower × 4