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
1answer
17 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 ...
1
vote
1answer
20 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:...
0
votes
2answers
48 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. ...
1
vote
0answers
35 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
59 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 ...
4
votes
2answers
68 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 ...
1
vote
0answers
25 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
48 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 ...
6
votes
1answer
152 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
18 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
34 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
90 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
38 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
30 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
37 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
vote
1answer
74 views

Force Closing a BTC lightning channel on Umbrel

I requested to close a lightning channel on my Umbrel node. Sometimes this is a quick process. And other times it takes days. It's been like 2 days now that a lightning channel with peer "...
1
vote
0answers
42 views

Fund umbrel lighting wallet with Blue Wallet?

Just set up umbrel node. How does one fund the lightning wallet? Besides funding the Bitcoin Core wallet and sending to the lightning wallet. I added Blue Wallet and tried to send from there to my own ...
2
votes
2answers
41 views

What speaks against dropping the percentage fee in lightning?

If the goal of the lightning network is to route payments as cheap as possible (i know this is an assumption and maybe not everyone agrees), why wouldn't it be a good idea to just drop the percentage ...
3
votes
0answers
24 views

Keys Security Best practices in a Lightning company

"What are some key security practices for running a company that works on Lightning? Risk of someone running away with the funds Alternatives to multi-sig for lightning Resources in the space ...
3
votes
1answer
59 views

Is it possible to use the Lighning network without being a middleman/intermediary for others?

A basic question: A wants to send money to C, but there is no channel between them. But A is connected to B and B is connected to C. So A sends money through B to C. But what is necessary to (not) ...
5
votes
1answer
99 views

How will censorship affect the lightning network?

If the Bitcoin lightning network were to become widely used, what will prevent regulators from cutting people off? The lightning network provides participants with the topography for the purpose of ...
2
votes
0answers
49 views

Pruned Bitcoind Backend for LND with txindex enabled for version > v0.13.0

I'm looking to prune a bitcoind node that will be used by LND. https://github.com/lightningnetwork/lnd/commit/410b30b9caaf59a78a29d8b924e14395b7daa59d From the LND commit recently by Kixunil. Note ...
1
vote
1answer
29 views

how many htlcs can a lightning channel have pending at a given time

Channels can have pending HTLCs, or even handle multiple payments concurrently. Is there a max number of pending HTLCs a channel can entertain? What is that max, why is it set to that number, and what ...
3
votes
1answer
86 views

Would a min_fee setting for Lightning channels make sense?

What is a min_fee? Having a min_fee means changing the fee calculation to max(min_fee, fee_rate * amt), potentially replacing the base_fee. My reasoning behind this is that it prevents 0-fee payments –...
2
votes
1answer
57 views

What are the minimum and maximum lengths of a Lightning invoice (address)?

I've noticed Lightning invoices can be 263 characters, 247 characters, and possibly other lengths. Is there a set range, and how (generally) are these numbers derived ? related: What are the minimum ...
1
vote
1answer
30 views

Pay invoice to offline lightning node

I wonder if there is a way to force a refund. Let's say A makes a payment to B. Later, B finds that he has to refund A, but A is offline. Can B reverse this payment while A is offline? Could it be a ...
3
votes
1answer
35 views

Is is possible to get routing detail of a payment in c-lightning?

I want to know how my payment was routed, how many hops, nodes and fees etc. So I can prepare my channels better. I see in the listpays, it contains info like bolt11, destination, payment_hash, but ...
1
vote
1answer
21 views

Digital hard cap boundaries

In terms of the bitcoin code, I believe I well understand the asymptotic 21 million hard cap on the upper limit of the protocol. I have heard rumors that it is possible to transfer less than one ...
0
votes
1answer
28 views

Would restricting channels to a maximum make LN more decentralized?

Currently LN seems a bit centralized - few central, well funded nodes seem to route transactions and make profits. I was wondering if limiting the number of channels a node can open to a certain max ...
3
votes
1answer
127 views

How can I access remote lightningd with pyln-client

I'm looking for a way to do python graph analytics on a local machine that can call a remote lightningd to get up to date nodes and edge data from the lightning node server. How do I need to configure ...
6
votes
1answer
110 views

Will LN liquidity advertisements and dual funding allow for third-party purchased liquidity ("sidecar channels")?

Third-party purchased liquidity ("sidecar channels") are a feature of Lightning Pool where Alice pays Bob to fund a new channel to Carol. Although this seems like an indirection (Alice ...
5
votes
1answer
188 views

What are the implications of min_htlc_size in "Pickhardt Payments" on the Lightning Network?

I've read the paper "Optimally Reliable & Cheap Payment Flows on the Lightning Network" by Rene Pickhardt & Stefan Richter and I'm tempted to assume the answer to my question, but I ...
1
vote
1answer
42 views

Sending "generalized" secret messages over LN using "Lightning messages"

In the Mastering Lightning Network book section 3, it describes the Lightning Network as being "... so much more than the cryptographic protocols on top of the Bitcoin scripting language. It is a ...
7
votes
1answer
147 views

What is special about blocks 540574 and 564180?

I am running c-lightning with a pruned bitcoind backend. Every day at around the same time, c-lightning asks for a specific block which is already pruned, which looks like this in the logfile (block ...
4
votes
1answer
80 views

Does balance broadcasting hinder scalability of LN?

Rene Pickhardt states in his research that broadcasting the balance values would hinder the scalability of the Lightning Network meaning that broadcasting the local and remote balance of each channel ...
0
votes
1answer
37 views

How do zero-conf channels work?

What zero-conf channels are seems pretty straighforward (correct me if I'm wrong) -- channels that are immediately usable without needed confirmation on the blockchain. These are very useful since ...
2
votes
1answer
36 views

What fee is the starting point of the closing fee negotiation?

When I issue the command lightning-cli listpeers $peerid i get a feerate perkb of 1012 atm. What feerate is this exactly? Is this the feerate which will be proposed by the other peer for a mutual ...
2
votes
0answers
50 views

Questions about Lightning Network: Connectivity, Funding, Dealing w\ Bad Counterparties

TLDR Long time buyer, holder, and user of Bitcoin (since 2015). Absolutely zero experience with Lightning Network. I've read some entry-level tutorials but still have basic conceptual questions ...
0
votes
0answers
14 views

Transfer Outbound to Inbound liquidity - Umbrell node

I have an Umbrell node, and few channels open with outbound liquidity as I don't know how to open inbound liquidity. I want to close one of my outbound channel that is mostly offline and transfer this ...
1
vote
1answer
26 views

Is it possible to change `their_to_self_delay` after a channel is open?

Rene said here that a c-lightning node is safe for around 24 hours to be offline (depending on the locktime). This is set with watchtime-blocks in the configuration file of c-ligthning. But this will ...
1
vote
1answer
23 views

Does the Breach Remedy Tx hinge on the remote party's revocation secret exclusively?

The original Lightning Paper required both signatures for the Breach Remedy Tx (see also this Q) but according to the BOLT #3 specs the Breach Remedy Tx only seems to hinge on the revocationpubkey for ...
0
votes
2answers
52 views

lnd recovery with no seed, but with xprv

Suppose I have an obsolete copy of lnd database (with unlock password), and an up-to-date static channel backup, but I don't have seed words to attempt normal lnd recovery. I can, however, retrieve ...
4
votes
1answer
41 views

How can I decode the feature string of a Lightning node with BOLT #9?

Typing the following command (with a running lightningd): lightning-cli listpeers I get peers which all have a features flag, for example 0252a1. In the manpage lightning-listpeers(7) it says, that ...
1
vote
1answer
50 views

Lightning channel in regtest closed due to update_fee of zero being out of range

I am running a testbed of c-lightning clients running inside Docker containers connected to a bitcoind back-end. I keep running into problems with channels closing because the update_fee is out of ...
4
votes
0answers
37 views

Sign lightning channel creation PSBT with Golang

I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing. I've done the following steps: I create a regtest wallet using the BIP39 ...
3
votes
1answer
260 views

Why was the base_fee for the routing fee calculation of the Lightning Network included?

Currently and as defined by BOLT 07 on the Lightning Network, the fees for forwarding an HTLC of amount amount_to_forward are computed as: fee_base_msat + amount_to_forward * ...
2
votes
1answer
92 views

Lightning Network: tricking a node to cancel transaction with revocation & money loss

After reading about Lightning Networks in this and similar articles, I realized that I don't understand how the protocol & the system prevents the following scenario: There is an established ...
1
vote
2answers
73 views

Offline LN transaction

To broadcast on-chain Bitcoin transaction offline we need transaction hex which should be sent to a device which is online. Example: Government has shutdown internet in an area, text messaging still ...
3
votes
0answers
44 views

How can I see the on-chain evidence of a lighting channel?

I am learning about lighting now and I'm trying to check my understanding on-chain w/ a block explorer. I have opened several channels already and closed some also. I would like to confirm my ...
2
votes
1answer
47 views

Lightning Network Channels - Should we have 1 channel or 2 channels per peer?

In short I just wanted to ask for clarification, is it optimal to open two channels with each peer e.g, Or it is better to have one channel e.g, I look forward to your advice/response. Sincerely,

1
2 3 4 5
16