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
3
votes
1answer
21 views

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 ...
1
vote
1answer
14 views

Which LN implementation is better for developing Lightning apps in python(django framework)?

May be a noob question but I want to develop lapps in python(django framework for the web part)? Does the implementation make a difference? If yes, how?
1
vote
1answer
17 views

Is it possible to generate a pool of lightning transaction invoices in advance?

When dealing with normal on-chain transactions, we can generate a large number of bitcoin addresses that can then be stored separately and used to receive payments at a later date. I am aware that a ...
1
vote
0answers
8 views

EstimateFee - Invalid Length Destination Key

Background I have setup a regnet test network with two LND nodes. One to send money and the second (lnd2) to generate invoices on. I am writing code to simulate a mobile app. I'm currently trying to ...
0
votes
1answer
38 views

How to generate an invoice with flexible amounts for Lightning Network

I try to create a lightning invoice for donations. I want my donors to be able to determine the amount themselves. For my question I have looked for an answere in the internet. Unfortunately, my ...
0
votes
1answer
30 views

Create lightning invoice as payer

I'm interested in using lightning invoices for storing some basic metadata about a transaction on the chain. I'm also open to learn of a different approach if invoices aren't a good choice for my app. ...
2
votes
0answers
36 views

How do I set up a long-lived lightning channel for accepting bitcoin donations?

I want to set up a long-lived lightning channel to accept bitcoin donations. The plan was to open a channel with a capacity of 2.5 mBTC (currently valued around ~100$), "reverse submarine swap&...
1
vote
1answer
25 views

Where do I find the lightning node ID for my wallet in electrum?

Electrum supports running a lightning node for each wallet. I'm trying to find the ID for this node. Where can I find it?
0
votes
1answer
39 views

How Lightning Network sends payments

I am quite new to the whole blockchain space in general and was reading about Lightning Network. In LN which message type is used to encode payment information? For example, in the below book, there ...
1
vote
1answer
19 views

Lightning Network Refund transaction time delay

Is there a time delay for the person who initiated the channel to refund the transaction? If so where is this information documented (authoritative source)?
0
votes
3answers
47 views

Bitcoin script with multiple recipients?

Is it possible to write a Bitcoin script that pays multiple recipients? For instance, a script funded with 2 BTC by Alice that pays 1 BTC each to Bob and Charlie. Eventually I'd like to build a system ...
0
votes
1answer
20 views

Optional tagged field 19 vs signature recovery. Can these pub keys ever differ?

From Bolt-11: A reader if a valid `n` field is provided: MUST use the `n` field to validate the signature instead of performing signature recovery. Is this merely a performance optimization? Is ...
0
votes
1answer
21 views

How to estimate available size on the extension of TLV stream of lightning payment messages

I working on "value for value" payments for podcasts using bitcoin lightning payments. There is a standard for adding metadata to this payments, which is defined here: https://github.com/...
0
votes
1answer
56 views

Basic Lightning Network Questions re: fees, channel management

Background Long time Bitcoin holder and user, but exclusively on-chain. I'm completely new to the Lightning Network. While waiting for my Mastering Lightning Network book to arrive, I'm just trying to ...
1
vote
1answer
35 views

Is there already a way for subscription models? (Preferred over lightning)

Has anyone heard of a project that tries (or was successful) to make reliable subscription models possible? I mean a use case where the vendor can rely on his costumer and does not have to worry that ...
0
votes
0answers
27 views

How can AMP invoices be static in Lightning?

I have heard that there are static AMP invoices that can be reused multiple times (at least in LND). But previously I understood that you should never reuse the same paymenthash, because you could ...
3
votes
1answer
23 views

Difference between capacity and max_htlc in Lightning Network?

What is the difference between capacity and max_htlc in the routing of payments in the network?
3
votes
1answer
36 views

How would PTLC's change invoices?

I am wondering how would switching from HTLCs to PTLCs change invoices? I assume there would not be a payment-hash anymore, but what would replace it. A payment-point? Also, is there already support ...
1
vote
2answers
92 views

Is it possible to run a full node lightning network bitcoin core 22.0 on a 32 bit computer?

I have an old pc with Atom N270 that I would like to use as full node, how can I do that?
1
vote
1answer
43 views

Miner attack lightning network

Can miners attack lightning network making it unusable with the hope that the transaction are forced to be processed on-chain, and they earn more transaction fee?
1
vote
1answer
54 views

Watchtower limitations and possible solutions so far in 2021-Nov?

Having read a bit more about the Lightning network. The capacity of the lightning network seems to ride on the "trust" of the counterparty you are opening a channel with along with the ...
11
votes
1answer
301 views

Does eltoo require trusting watchtowers not to close channels?

The way Lightning Network works now, watchtowers maintain a list of penalty transactions to broadcast in case one party attempts to close a channel with an outdated channel state. The watchtower ...
1
vote
1answer
52 views

How much do Bitcoin Lightning Network Watchtowers make in fees to justify their 24/7 server uptime costs?

I understand that a watchtower service for the Bitcoin lightning network requires fees to do their job. How much is this fee to justify a 24/7 server uptime cost? Can one use the bitcoin lightning ...
1
vote
1answer
44 views

What are some of the pitfalls and limitations of Bitcoin Lightning Network Watchtowers?

From my general understanding watchtowers, just watches the bitcoin lightning channels and makes sure no one is submitting a old payment channel transactions. What are some of the pitfalls and ...
3
votes
1answer
115 views

What are Bitcoin Lightning Watchtowers exactly doing for the network and users?

I'm still learning about Bitcoin lightning and learned about watchtowers. What are they doing exactly for the network and its users?
3
votes
1answer
73 views

Estimating Lightning Network's theoretical transaction throughput

I've seen theoretical estimates of Lightning Network's potential transaction throughput range from 100k or more to millions of transactions per second. My question is, how do you come up with an ...
1
vote
0answers
49 views

Lightning Network node collusion

I' m learning about Bitcoin and LN enjoying Antonopoulos's excellent "Mastering Bitcoin" book I stumbled upon Figure#7 in Chapter 12 https://github.com/bitcoinbook/bitcoinbook/blob/develop/...
2
votes
0answers
99 views

Could the Lightning Network encounter any problems as a result of Taproot activating?

I was reading this excellent write up from Laolu Osuntokun on how the light client protocol Neutrino encountered a Taproot related issue on testnet. (Taproot is already active on testnet.) Could the ...
2
votes
1answer
66 views

Why is lnd's channel.db so huge and when will it stop growing

I am running my lnd node since about 60 days. Looking at the file channel.db, I found it grows currently about 500M per day: btc@xxx:~/.lnd$ ls -al ./data/graph/mainnet/channel.db -rw------- 1 btc btc ...
0
votes
1answer
48 views

Lightning circular rebalance never succeeds

I've tried using lnd, lnd-rebalance, Ride the Lightning, and Thunderhub. I've tried raising fees to a silly amount, and rebalances as low as 50k sats. I am participating in a number of triangle swaps, ...
2
votes
1answer
38 views

How can someone broadcast intermediate lightning transaction? Where the network fees come from?

Let's assume Alice and Bob creates a channel in which Alice locks her 100 mBTC. Alice 100mBTC and Bob 0 mBTC --------> 2-of-2 contract Alice Pays Bob 30mBTC through this channel: Alice ...
1
vote
1answer
26 views

Is it possible to run a Lightning Network node with multiple entities holding parts of the private key?

What's the technical limitation stopping multiple entities from collectively managing an LN node? I understand all parties (entities that share the Node private key) need to be online to sign routing/...
1
vote
1answer
97 views

Where are my lightning routing fees stored (lnd), when do they get payed out?

I watch my lightning node (lnd) routing some amounts. And with lncli feereport I see some sums, let's say 700 sats for this week. But where are those sats? How can I lookup the accumulated routing ...
1
vote
1answer
36 views

Transferring all funds from a custodial service over Lightning Network

This is the third time (meaning three different services) something like this has happened to me: A custodial service holds a small amount of my bitcoin. When I want to withdraw all funds to my own ...
0
votes
0answers
47 views

No routes found for LN triangle swap

I just joined this swap with my lightning node, but we are unable to do a circular rebalance. Austronode was able to rebalance 500k sats to my channel, but they weren't routed through btcishope, which ...
2
votes
1answer
87 views

Negative fees on Lightning network and fees on incoming liquidity

Why there aren't negative fees on lightning network protocol and the ability to set incoming fees? Would there be any benefit? Let me describe the situation. There are nodes where the most of the ...
3
votes
1answer
73 views

lnd stoped routing - unable to update fee rate

I used to have about 5 routings per day. Now, since three days I don't have any routing. In my lnd.log I find lines like this: grep ERR lnd.log 2021-09-19 22:40:53.187 [ERR] HSWC: ChannelLink(700510:...
1
vote
2answers
71 views

What are the various Bitcoin nodes available which I can connect to via my lightning node

I am thinking of running my own lightning node in testnet. Going through the tutorials it seems the lightning node needs to be connected to bitcoin node inorder to get connected to bitcoin network. ...
2
votes
1answer
146 views

What is difference between Lightning Wallet and Lightning Node?

I am confused with the terminology of lightning node vs and wallet, as I see that each individual can run its own wallet like eclair so does that mean the person running a wallet is also running a ...
2
votes
1answer
63 views

Specifying delivery addresses on channel closes - includes force closes?

In https://github.com/lnbook/lnbook/blob/develop/07_payment_channels.asciidoc We see this block of text: Typically the addresses used in this cooperative close transaction are generated freshly for ...
5
votes
2answers
314 views

Creating a lightning invoice without running a full node

I'm trying to build a small website that takes payments using a lightning invoice. I want to do this without running a full node (or pruned node if possible) on my server to keep costs down. I'd be ...
2
votes
0answers
36 views

lightning nodes cannot find route

I have two lightning nodes, Bob and Charlie (using bitcoind backend with LND). They both have an open and funded channel with this testnet faucet: https://faucet.lightning.community/ Both nodes have a ...
4
votes
0answers
70 views

How can I increase the routing my 'small' lighting node performs?

I know this question has been asked a lot. However I am not able to grasp the correct approach to address this. Let me give you the context: I spun up an LND node to start experimenting and ...
9
votes
1answer
202 views

Why are multi hop virtual payment channels desirable?

There are papers about multi hop virtual payment channels emerging like the Perun paper or more recently the Donner Paper. The idea seems to be to reserve some liquidity on a path (or potentially flow)...
1
vote
1answer
20 views

What is the BOLT 10 realm byte for testnet and signet DNS node discovery?

BOLT 10 describes a node discovery mechanism based on DNS. The query semantics include a realm byte that is 0 by default (Bitcoin). What is the realm byte for testnet and signet? This question was ...
0
votes
1answer
37 views

Is it possible to programmatically or preemptively deny any/all open_channel Lightning messages coming into your node?

If so, that would make it possible for that same node to have 1 very well funded inbound channel with only 1 other node that they also own and price gouge fees to route payment to them through this ...
2
votes
2answers
135 views

Bitcoin transactions associated with layer 2 projects

Is there any website which tracks the number of Bitcoin transactions, fees and amounts associated with layer 2 projects (Lightning Network, Liquid, Rootstock)? I am curious about this because if a ...
2
votes
2answers
92 views

Should you be able to run a mainnet c-lightning node in parallel with a signet c-lightning node? What about an alternative Lightning implementation?

Running mainnet, testnet and signet Bitcoin Core full nodes on the same machine/same VM works fine. Is running say a c-lightning mainnet node in parallel with a c-lightning signet node on the same ...
2
votes
1answer
130 views

What exactly are route hints?

In the documentation for LND's addInvoice rpc call there's a field for something called route_hints which are described as: Route hints that can each be individually used to assist in reaching the ...
0
votes
2answers
72 views

Lightning On Chain Wallet - How do I get my Bitcoin back out

I've setup a Lightning Network Node. Funded the wallet. Played with channels and sent a few payments back and forth with a mobile wallet. I recorded all the pass phrases when I make the Lightning ...

1
2 3 4 5
16