Questions tagged [lightning-network]

Proposed payment system leveraging payment channels which allow re-negotiation of balances that finally get executed on the Bitcoin blockchain.

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

LND shuts down, reports "tor host unreachable"

Debian 10.13 Bitcoin Core 23.0.0 LND 0.15.1-beta I've never run a Lightning node before but I've been running a Bitcoin node for almost a year with no problems at all. I'm trying to get LND running, ...
2 votes
2 answers
63 views

What would happen to a LN channel if one of the parties followed a minority fork of Bitcoin?

Assuming a fork due to consensus-breaking rule change either hard-fork, UASF or similar. (So not including short reorgs.) Would the channel simply become inactive/disabled and get "automatically&...
0 votes
1 answer
53 views

What is the optimal way to lnurl-pay without running a ln node?

I am working on a service that would receive payments through lightning and would need to use a static lnurl-pay QR code (no screen available). When payment is received I would like some automated ...
0 votes
2 answers
76 views

Roadmap for beginners developers

I am Brazilian and would like to program functionality for Bitcoin and LN. But I have no knowledge of programming and am lost as to what to study. Could you help me? What do you recommend? *i do know ...
3 votes
1 answer
43 views

What Lightning Network transaction information is usable to provide a verifiable public index of received payments?

I have in mind a protocol architecture that includes value transfer, where BTC is the unit of account. To make the protocol scalable I could specify use of the Lightning Network protocol. In this case,...
  • 244
1 vote
1 answer
54 views

One to many transactions on the Lightning Network, practical approach/limits?

One to many transactions on the main chain are limited by the block size/tx limit size. Does the same limitation apply on the Lightning Network? What would be the best approach for 1-N transactions on ...
  • 244
0 votes
1 answer
49 views

How does Lightning payment service Works?

Let's say A merchant is using lightning payment service to accept BTC as payment for his shop. How does existing lightning payment service were able to manage to provide merchant's BTC in form of fiat ...
0 votes
1 answer
25 views

How to run bitcoind and lnd on separate machines on the same network

I have a bitcoin full node running on a raspberry pi 3b but it doesn't have enough memory to also run lnd at the same time so I'm trying to do that on a separate machine connected to the same network. ...
2 votes
1 answer
38 views

Are multipart payments more expensive than normal payments? (Lightning Network)

I was reading the "Mastering The Lightning Network" book when I came across this part about Multipart payments which mean dividing a payment and sending it through multiple paths to increase ...
0 votes
0 answers
65 views

Difference in lightning network node/channel stats between my LND, what's shown in amboss and 1ml.com

When I run ./lncli getnetworkinfo I get the following: { "graph_diameter": 13, "avg_out_degree": 5.67523205795789, "max_out_degree": 117, "num_nodes&...
  • 165
2 votes
0 answers
63 views

How to measure the drain of a specific Lightning Network Channel that I own?

We have seen that the drain of a lightning network channel can be used to predict the failure rate of payments in this channel which correlates inversely with its reliability. Assume my node M has a ...
0 votes
0 answers
14 views

What does leasing a channel mean in lightning network?

Does leasing channel through liquidity pool means, selling entire channel/node or just providing inbound liquidity to well connected node? Correct me If I am wrong...
0 votes
1 answer
41 views

What prevent users from cheating in an HTLC contract

I was reading about HTLC and how Charlie have to create a random number and generates its SHA256 hash that is supposed to be used by Bob in the end to finalize the payment he has received from Alice. ...
  • 2,423
2 votes
2 answers
160 views

Lightning channel decrease capacity

Let's say Alice and Bob have a 2BTC channel together. Both have a balance of 1BTC. Can Alice withdraw part of her balance (say, 0.5BTC) from the channel?
0 votes
0 answers
68 views

How to setup Lightning Node on Windows Desktop in 2022?

I have gone through setting up lightning node, but a lot of resources stated to get hardware and to run LND through command line. But How can we setup a Lightning node in regular laptop with nice GUI ...
0 votes
0 answers
11 views

How is Loop Out/ Pay Self/ LNBig are different from each other Functionally?

I wonder how Loop Out, Pay Self, LNBig works respectively in a high level sense and how are they different from each other functionally. Which is Best way to set Inbound Liquidity
0 votes
1 answer
34 views

Actively used bech32(m) address with invalid checksum?

The following address uses witness version 0 and its checksum is the one expected for bech32m addresses. However, the combination of the two is not valid. ...
  • 270
1 vote
1 answer
39 views

How to deal with this situation in Lightning Network?

What happens if Alice sends excess amount by mistake in Lightning Channel, and Bob denies to send back excess and broadcast the last transaction to Blockchain?
2 votes
0 answers
52 views

How do I gain access to the on-chain funds with hsm_secret?

I had a Core Lightning node running properly, but it suddenly somehow stopped working. I force-closed the only channel I owned (from my other node), and since I can't start the lightning daemon (with ...
  • 116
1 vote
1 answer
37 views

Can we send fund from one channel to another in Lightning?

Is it possible, without closing it, to transfer funds from one existing channel to another?
0 votes
1 answer
16 views

Why would a popular e-commerce lack incoming liquidity?

I am not able to understand why if a popular ecommerce will not lack incoming capacity and the below highlighted part Closing channels will incur an on-chain fee and will reduce your Lightning node’s ...
0 votes
1 answer
17 views

Does the payment for both parties are settled instantly in Lightning Network

Unlike Force Close mechanism, where there is a time lock, making settlement to take time, Does mutual closing channel funds settlement takes long time or funds are settled between channel partners ...
0 votes
0 answers
36 views

Lnd invoice lookup

I am trying to get single invoice with GET /v2/invoices/lookup endpoint on LND REST API by its id as documented here: https://api.lightning.community/?javascript#v2-invoices-lookup. But whatever I do ...
0 votes
0 answers
19 views

Alternative fee functions for the Lightning Network

The current Lightning Network specification allows channel peers to specify a base fee and a proportional fee. In other words, the fee charged is a linear function of the forwarded amount. While that ...
0 votes
1 answer
41 views

How would you send more than a channel's capacity?

Let's say Alice wants to send Bob 1BTC. So, let's say Alice funded a channel with Bob of 1BTC+some minuscule amount of BTC for fees and let's say Alice transferred the whole channel capacity to Bob. ...
0 votes
1 answer
39 views

What are the different kinds of endpoint Lightning nodes a user can choose from and their trade-offs?

What are the different kinds of endpoint Lightning nodes a user can choose when joining the Lightning Network and their trade-offs? (Note this question is not a duplicate as it attempts a ...
4 votes
1 answer
522 views

What are prerequisites and best online resources to learn everything about Lightning Network

I want to learn Lightning network from basic to Advance from scratch, So what are: 1. Prerequisites to learn lightning network 2. What are best online resources to learn Lightning network from scratch
1 vote
2 answers
29 views

Lightning: Keys confusions

I am currently trying to understand the Lightning network using their whitepaper and BOLT#3. However, I have some trouble to understand each public/private keys roles in the processus. From what I ...
2 votes
1 answer
26 views

Virtual Lightning channels for high availability

I've recently reread Rene Pickhardt's draft proposal for Virtual Channels. One benefit of virtual channels, as I understand it, is that they would allow a single entity to run multiple nodes while ...
0 votes
0 answers
21 views

Setting Up Account in LND Pool

I have a lightning node and have Pool running on it. I'm attempting to create an account in the lightning pool and I keep getting insufficient funds error. Not sure what is sufficient since I'm ...
1 vote
1 answer
42 views

Is there an absolute limit the payment request expiry?

Is there an absolute limit the payment request expiry? I can't find this in the BOLTs, but maybe this is up to the implementations?
3 votes
1 answer
55 views

How do the various Lightning implementations treat latency? How long do they wait for a peer to provide a signature before using unhappy path?

Rene Pickhardt brought up the problem of latency on the Lightning Network in this answer on using nested (or "recursive") MuSig2 or FROST when providing a signature within an existing ...
2 votes
2 answers
110 views

Can you do P2WSH / P2SH on Lightning Network (LN)?

I understand that a channel is a 2 of 2 multisig: 1 && 1 Is it possible that one side of this channel is a multisig wallet? So in essence one of the 2 main, is actually a 2 of 3 multisig. ...
7 votes
1 answer
430 views

What does TLV stand for?

I'm reading about the gossip protocol and wanted to know what a TLV is. I can't find what it means anywhere.
0 votes
0 answers
13 views

Who will use the blockchain if bitcoin has millions of users? [duplicate]

I am probably misunderstanding some things with either bitcoin or lightning. However, I'm confused how the bitcoin network will practically function at scale. Let's say there are 400k transactions per ...
1 vote
1 answer
53 views

How can i get the payee public key from the payment request

I'm trying to get the payees public key (destination node) from the payment request. You can see an example here. In the source code for (https://lightningdecoder.com/) it seems like they get it from ...
1 vote
2 answers
54 views

Broadcasting fake Lightning channels

As I understand it, right now every public Lightning Network channel must be tied to a UTXO. This is required in order to prevent nodes from spamming the gossip network with nonexistent channels, but ...
1 vote
0 answers
37 views

LSP best practices

The problem of getting inbound liquidity on the Lightning Network has given rise to Lightning Service Providers, essentially node operators on the Lightning Network, that provide new nodes with ...
2 votes
2 answers
1k views

Can I transfer BTC from BTC (address) wallet to a Lightning (address) wallet?

I would like to know if I can send BTC from a BTC address to a Lightning Network address. I have BTC on an exchange and I would like to move them from the exchange to my Muun wallet. Muun allows on-...
1 vote
1 answer
40 views

Can I make a keysend/amp payment having an invoice?

I am trying out sending/receiving payments between BlueWallet, Muun wallets and my locally running lnd node. I managed to successfully pay an invoice generated by BlueWallet or Muun from lnd node on ...
2 votes
1 answer
66 views

What happens if channel opening transactions get stuck?

What happens with a pending channel opening, if the transaction is not being confirmed for an extended period of time because of insufficient on-chain fees? Or even worse, if the transaction drops out ...
1 vote
0 answers
43 views

How to generate a lightning invoice of any type offline

Is it possible to generate a lightning network invoice without the encumbrance of a full lightning node (lightning node defined as: fully synced channel graph, knowledge of channel outpoints, and ...
0 votes
0 answers
62 views

What are currently (May 2022) the biggest pain points of the Lightning Network?

I am wondering what are currently the biggest roadblocks and challenges (maybe also in Bitcoin) that we need to overcome in the Lightning Network protocol. Why are they challenging and why is it so ...
1 vote
1 answer
24 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.
  • 13
2 votes
2 answers
127 views

How do I switch a pruned node to "neutrino mode"?

According to Lightning Lab's documentation, Bitcoin Core can be run in "neutrino mode" to serve block data without storing transactions. I've been running Bitcoin Core in pruning mode and ...
1 vote
1 answer
65 views

Can eltoo's no-penalty design be exploited by malicious submissions of old state?

Eltoo uses the no-penalty submission mechanism, where the cost for an adversary to submit an old state is the transaction fee. This action seems unprofitable, but if we add HTLC to Eltoo, things seem ...
  • 117
0 votes
1 answer
58 views

Strike says its free to send money via Lightning - how is that possible?

I was watching Strike's announcement that their API can transfer money by converting from fiat money to BTC, transferring that over the Lightning Network and converting back to fiat at the merchant. ...
  • 115
0 votes
0 answers
101 views

Why is my LND node flagging channels as inactive?

My LND node (version 0.14.2), flags some channels as inactive. The command lncli getchaninfo shows, that given channels are only flagged as disabled by my node, not the remote. The odd thing is, that ...
1 vote
1 answer
40 views

Can I pick a certain channel for payment?

Having Electrum wallet and 2+ open Lightning channels can I pick a certain one when paying for something? Or the channel is picked automatically due to some algorithm?
5 votes
1 answer
226 views

Unilateral close because of HTLC in remote commitment

I run lnd on my node and sometimes see messages like this: [INF] CNCT: ChannelArbitrator(CHANPOINT): immediately failing htlc=HTLCID from remote commitment The corresponding close transaction sent ...
  • 270

1
2 3 4 5
18