Questions tagged [lightning-network]
Proposed payment system leveraging payment channels which allow re-negotiation of balances that finally get executed on the Bitcoin blockchain.
976
questions
0
votes
0
answers
32
views
Where is the custody with lightning node?
I wrapped my head about LN a bit with LND and voltage ressources but regarding the custody I don't really get it. With bitcoin it's stateless as one can have the utxo's key and sign offline and just ...
1
vote
1
answer
55
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 ...
1
vote
0
answers
31
views
How to organize a lightning node so that the liquidity is self balancing?
Does anyone here know a method to organize a lightning node so that it becomes self balancing? By self balancing I mean that the liquidity is "mostly" balanced so that transactions flow in ...
1
vote
0
answers
28
views
Destination in WoS invoice is not WoS node
When I create an invoice in Wallet of Satoshi / Android, and lncli decodepayreq --pay_req=lnbc2 the invoice, there's a destination
{
"destination": "...
0
votes
0
answers
22
views
I bought a bitcoin and saw it sent without me doing the transaction
I bought bitcoin when I checked my account and it marked the pending transaction, the next day I woke up and it marked the sent transaction. I'm sorry for what happened because I completed the ...
2
votes
0
answers
13
views
Are there internal 1sat invoices in LND?
Every day I find several (like 3) amount=1 sat invoices in my lnd's listinvoices. These invoices have an empty payment_request, a zero expiry, an empty description_hash etc. Is this kind of a health ...
2
votes
0
answers
21
views
For running a lightning node and getting maximum exposure, should I forward port 8333 also (for bitcoin)? Or only 9735 (lightning)?
I've been wondering about this. From what I read, people only open 9735 to run a "successful" node.
To me it makes sense not to open bitcoins port, but I could also imagine that some ...
1
vote
1
answer
51
views
bech32 serialized lightning invoice from lnd rest endpoint /v1/invoices
I am using the LND Rest API to create an invoice. As response I get something like
{'r_hash': 'Wchr...E=',
'payment_request': 'lnbc210n1p....z9s',
'add_index': '4',
'payment_addr': 'Lyn...50='
}
...
0
votes
0
answers
18
views
LND per_commitment_secret
I'm trying to restore per_commitment_secret from channel.backup file (LND). What is the seed? Is the seed saved in channel.backup file?
BOLT #03 per_commitment_secret calculation
generate_from_seed(...
1
vote
0
answers
33
views
LND per-commitment-secret derivation
For learning purposes I'm trying to recreate all keys in LND channel.
I could reproduce MultiSigKey, RevocationBasePoint, PaymentBasePoint, DelayBasePoint, HtlcBasePoint. The workflow to reproduce ...
0
votes
0
answers
48
views
Determine the amount to pay to send bitcoin from lnd (lightning network) to on-chain address
I am currently working on a project that requires multiple users using lightning network to generate and pay invoices through my website but I want to be able to calculate each user's transaction fee ...
1
vote
0
answers
28
views
Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)?
Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)? I mean the features shown when you use "describegraph" command.
6
votes
0
answers
127
views
What are the advantages to attackers of different styles of replacement cycle attacks?
In Antoine Riard's
original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this:
Bob broadcasts an HTLC-timeout (input A, input B for fees, output X)
Mallory ...
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
1
answer
91
views
Advantages of running a lightning clearnet node compared to one behind a TOR proxy?
Can anyone explain - maybe in a bulletpoint list - what we gain from that? Will that increase its usage? Or is it more about being able to access it from all of your devices everywhere?
I'm ...
1
vote
0
answers
20
views
Considerations for moving a lightning node to new hardware?
Lightning nodes get rated. Amongst other factors, uptime is a big one of them.
If I want to upgrade to new hardware, what are the steps necessary to do so? Let's for simplicity assume, that I use ...
0
votes
0
answers
58
views
Deriving revocation_pubkey BOLT #3
I'm trying to reproduce keys derivation for testing vectors in Bolt #03.
At the moment I'm can not reproduce the local_revocation_pubkey: ...
1
vote
0
answers
44
views
Max amount of peers connections on LND
I'm trying to connect to a long list of peers. I'm running a LND(0.17.0) node.
My list has almost 1k peers and I can only connect to 6 of them. Is my node limiting the max connections? If so, is it ...
2
votes
1
answer
36
views
Is a channel's 'max_htlc_msat' setting only for outbound HTLCs, or for both sides?
I'm currently setting max_htlc_msat value of my channels to a value similar to their curent local balance, in order to get hints about the max it can curently route (outbound).
Indeed, this made ...
1
vote
0
answers
31
views
What is the most successful method to automate circular rebalancing?
What is the most successful method to automate circular rebalancing?
We have tried the Torq and the LNDG app but so far they both do not wotk for us so we are still performing manual circular ...
0
votes
1
answer
40
views
Is it possible to setup Lightning Network Nostr tipping using Bolt12 offers?
I see that NIP-57 references / depends on the LNURL specification, which references LUD-06 and LUD-16.
As someone still rather new to all the various specifications, can somebody explain to me in ...
1
vote
0
answers
37
views
Pending open lightning channel
I opened a lightning channel with RTL on my raspiblitz. It took too low fees by default (my fault).
So I tried in RTL to pump the TX but this doesn't help. It seems that there was an second TX created ...
-1
votes
1
answer
215
views
Bitcoin smart contract for wallet income distribution based on specific conditions?
XY-problem
To improve the transparency and payout automation of funds that are raised for a small SAAS project, I would like to enable (micro)-investors to invest with bitcoin whilst providing a ...
1
vote
1
answer
63
views
How to estimate number of transactions on the Lightning Network
I would like to estimate the transaction volume (number of transactions) on Lightning Network.
Has anyone done any work towards that?
An idea I have is simply look at the reporting nodes out there ...
0
votes
1
answer
37
views
What is the correct Bitcoin.org wallet download?
anyone able to install the Bitcoin Wallet?
Apple store is taking me to Bitcoin Wallet from COINiD, doesn't seem right?
Does the Bitcoin Wallet handle the Lightning Network?
Can the Bitcoin Wallet ...
2
votes
1
answer
66
views
Would it be feasible to time channel rebalancing by watching miner fees?
Is there a way to monitor Bitcoin miners’ fees so one would could calculate the optimum time to perform a circular re-balance thereby minimizing the fees charged?
1
vote
1
answer
56
views
How to attract traffic to a Lightning routing node
We have a lightning node and are searching for some educated advice on how to attract more traffic to our routing node.
A short explanation of what we have been experiencing.
We have a small node ...
2
votes
1
answer
80
views
Why might my db be locked on starting bitcoin-qt after a clean shutdown and reboot?
I have LND v.16.2 running under Windows 10 with Bitcoin Core 23.0 on same machine.
When I need to reboot, I gracefully stop my LND node and close bitcoin-qt from the GUI, waiting until it has ...
3
votes
1
answer
60
views
How to make sure the user receives lightning payment?
I am working on a side project to allow users to receive some payments from it. When a user clicks a button to withdraw to a lightning address, my webapp makes a request to the host of that lightning ...
1
vote
1
answer
41
views
Sending onion messages with c-lightning
I have a simulated network of 3 CLightning nodes, A,B, and C.
I want to use the sendonionmessage command to send a message from A to C going through B and then the response coming back to A through B.
...
2
votes
0
answers
56
views
How can we use OP_CHECKTEMPLATEVERIFY to non-interactively open channels?
In here there is a description of how to create a channel between two parties without interaction from both of them. If my understanding is correct, the transaction responsible for codifying the ...
-1
votes
1
answer
106
views
Pending lightning network transaction for over 30hours
I sent a Btc transaction from cash app Btc wallet to my exodus lightning network wallet using the lightning network. The payment was made around 1:00pm central time on Monday, July 24. Have spoken ...
1
vote
1
answer
62
views
Is there a way to pay multiple lightning addresses from a single invoice
Let's say I'm an online platform that wants to enable lightning payments between members, but want to also take a small sats fee per transaction to cover platform costs. Very much like Uber or AirBnB ...
0
votes
1
answer
85
views
Destination is not reachable directly and all routehints were unusable - how might I remedy that?
After launching lightningd I get following:
2023-07-20T06:54:46.533Z UNUSUAL 038.............................................................8f--connectd: Feature 28 requires feature 20
2023-07-20T06:...
1
vote
1
answer
183
views
Open Channel Transaction without RBF is stuck
An open-channel transaction has too low fees and does not get confirmed. It has opted in to RBF, but there is no change output. So I think it is not possible to use lightning-cli openchannel_bump?
Isn'...
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.
0
votes
0
answers
34
views
Lightning Wallet bulk creation
I want to giveaway small amounts of BTC on lightning. The ideal method is a wallet paper equivalent, this means no coupons, websites or redemption procedures. I still have some doubts about the ...
3
votes
1
answer
82
views
How do route hints affect pathfinding?
I understand that route hints can be provided when generating an invoice, but how exactly do wallets use this information to assist in pathfinding? I imagine this can vary slightly between ...
0
votes
1
answer
42
views
How to go about performing invoice generation / payment processing with lightning network?
I am interested in implementing a micro-transaction "paywall" that will allow anonymous users access to a web application that I am building. Each unique visit to the home page of the ...
6
votes
1
answer
317
views
Why is the default LN channel limit set to 16777215 sats?
I assume this default limit of 2^24 is set by some purpose in BOLT #2. But what's the meaning of that? Or is there any test/experiment to support this number?
0
votes
0
answers
63
views
Failed Tls connection to LND with gRPC and REST using rust
I have been trying to connect to an LND node using Rust as a language.
I have been constantly be given this error:
tonic::transport::Error(Transport, hyper::Error(Connect, Custom { kind: InvalidData, ...
0
votes
2
answers
71
views
Which exchanges or wallets offer the option to open Lightning channels with them at the time of writing? [closed]
Which exchanges or wallets offer the option to open a channel with a Lightning routing node they operate at the time of writing (June 2023)? (I know Lightning Labs' Pool and liquidity ads attempt to ...
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/...
0
votes
2
answers
67
views
In the Lightning Network, what risks if any are associated with allowing a remote node to be offline for too long?
In a given lightning channel what are the risks of allowing the remote node to be offline for an extended period of time?
The obvious being the funds in the channel would be inaccessible, but if we ...
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
1
answer
71
views
Can you help me get started running a signet Lightning routing node with intended 100 percent uptime?
I'd like to run a signet Lightning routing node with ~100 percent uptime. Until now I've just spun one up and shut it down but if a reliable signet Lightning Network is going to be a thing we need ...
-1
votes
1
answer
82
views
Polar docker compose not found v2
In recent versions of Docker Compose we no longer have the docker-compose command instead we use docker compose (mind the space instead of dash) but Polar does not understand this.
To Reproduce
Steps ...
3
votes
2
answers
203
views
Automatic force closure and on chain settlement of expired HTLC
After roughly a month of mostly smooth operation a lightning node (LND 0.16.2-beta) automatically initiated a force closure of a channel. Two days later an expired HTLC was settled on-chain. In both ...
0
votes
1
answer
55
views
What mobile lightning wallets show the user the preimage?
It seems like most mobile lightning wallets don't make the preimage accessible to the user after a lightning invoice is paid, other than Muun. Does anyone know of any others that do?
4
votes
1
answer
133
views
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. Is there any way to find that transaction and therefore the preimage ...