Questions tagged [lightning-network]

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

78 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
169 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)...
6
votes
1answer
119 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 ...
4
votes
0answers
58 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 ...
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
0answers
41 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
0answers
46 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 ...
3
votes
1answer
65 views

How to verify a lnurl-auth callback with python

I want to create a Python implementation of an lnurl-auth server. I started a quick HTTP server to be the callback url, and captured the signed callback sent by BLW on Android. ?tag=login &k1=...
3
votes
0answers
41 views

What is "Link-Level Multiplexing"?

In a discussion about private channels, Conner Fromknecht mentioned a concept called Link-Level Multiplexing. What is this and what is it useful for? How does it work?
3
votes
1answer
83 views

Finding paths NOT originating from you with lnd

I'm interested in finding paths from senders whose node you don't run to potential receivers. According to https://api.lightning.community/?python#queryroutes , you can do that by specifying the ...
3
votes
1answer
378 views

Accepting micropayment donations via Lightning Network - what is the most efficient / recommended architecture?

The difficulty that I am experiencing at the moment - how to accept Lightning Network micropayments donations supporting (shameless plug): https://genesis.re/wiki#Plan_B Zap / Joule: I send on-chain ...
2
votes
0answers
68 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
0answers
30 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 ...
2
votes
0answers
60 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 ...
2
votes
0answers
51 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 ...
2
votes
2answers
75 views

Delay of a revocable transaction in the Lightning Network

The Lightning Network Whitepaper describes the concept of Revocable Sequence Maturity Contracts (RSMC), which allows a commitment transaction to be revoked during a predefined delay after the channel ...
2
votes
0answers
65 views

How do I choose new lightning channels in order to minimize hops when rebalancing?

Currently my fees are quite high when I try to rebalance and I noticed that I can't rebalance some channels from any of my other channels. I have only six or seven channels and would like to expand to ...
2
votes
0answers
61 views

Circular rebalance through 1 of 7 channels always times out

I have the following 8 channels open I am able to do a circular rebalance through the first 6 as expected The bottom 2 channels are to the same node Every time I try to do a circular rebalance (tried ...
2
votes
0answers
160 views

Lightning Node (MyNode) gone missing. How to recover funds?

I had a RaspPi/MyNode with a few LND channels open. The node has unfortunately gone missing/stolen and I'm trying to figure out the best way to get the funds back. I have access to my seed words for ...
2
votes
0answers
55 views

New Node User Opening Channels Through Zap

I recently set up my first node and connected through Zap. I currently have one channel open which is funded on my local side and on the remote side for a small amount. I was told that my node is not ...
2
votes
2answers
202 views

How does lnd make sure it does not reuse the same route twice for a retry after the first payment failed?

Suppose LND node A wants to send a payment to another node D. The pathfind algorithm based on Dijkstra found a route through B and C and initiates the payment. It fails, as B -> C does not have ...
2
votes
0answers
40 views

What are the pros/cons of preferring sending the latest commitment or the oldest commitment?

Roasbeef mentioned on IRC that the Lightning specification allows a client to either assume that the latest co-signed commitment has been received by the counterparty, or that it hasn't. (as far as I ...
2
votes
1answer
557 views

How does 1ML measure the availability ranking of nodes?

If there is an 1ML Node Rank ranking explanation anywhere ? My node is online 99.9% but "Availability" dropped down from 700 to 4000 in last 3 months. :( I guess this is somehow associated with the ...
2
votes
2answers
141 views

How could LN mitigate NAT transversal problem?

As we all know, IPv4 address space is already exhausted, many ISPs have deployed carrier grade NAT (CGN). So how could an LN node living behind NAT deal with NAT transversal problem? How could two ...
2
votes
2answers
581 views

lightning network funding transaction clearification

Im trying to understand the funding transaction for a channel on the lightning network. I am wondering how the input looks like to the funding transaction. Does it require In_{Alice}(tx_{id}, tx_{...
2
votes
0answers
100 views

Post SegWit Inclusion, how long until Lightning Network is included in the core?

Introduction - Reason for asking this question With most of the money in the cryptocurrency domain still being utilized in transactions on crypto-exchanges and the numerous hacks that have previously ...
2
votes
1answer
167 views

Lightning network hub security?

Reading the whitepaper, I came across a point: nodes wishing to act as effective intermediaries, 'hubs' or not, need high availability and need to operate autonomously. This means they must have ...
2
votes
1answer
164 views

C-lightning lightningd crashing

To run a lightning node I followed the instructions here: https://medium.com/@dougvk/run-your-own-mainnet-lightning-node-2d2eab628a8b except that I downloaded and installed bitcoind and lightningd ...
2
votes
0answers
73 views

How would Bitcoin look like if the primary design goal was to have LN-like payments?

Today (assuming SW), we have Bitcoin, which allows us to build LN using a set of smart constructs such as HTLCs. But this is a result of a work of people trying to figure out how to take what Bitcoin ...
1
vote
0answers
30 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 ...
1
vote
0answers
85 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 ...
1
vote
1answer
20 views

Does got any optimise method can swap/splice/loop channel without on-chain cost in lighting node?

if I got custom Node and Alice has 3btc and bob got 0btc and bob got 0btc with Tom 1 btc. Is it possible we can change channel for Alice 3btc with Tom 1 btc. And close Tom. And it doesn’t go to on-...
1
vote
1answer
38 views

Lightning bumpfee completes but doesnt create a new transaction. Instead it waits in "pending sweeps"

I had a Lightning channel open transaction pending for 24 hours due to a low fee. So I issued a bumpfee for the output index like so: lncli wallet bumpfee --sat_per_byte <new_fee> <txid>:&...
1
vote
1answer
264 views

How to open lightning network channel to a selected node in Electrum?

Electrum (version 4.1.2) Open Channel dialog only contains a dropdown "Trampoline" with predefined entries. How a new channel can be opened to a specific node?
1
vote
0answers
67 views

In concrete terms, how do I start using Lighting Network right now?

I have Bitcoin Core installed on Windows and it's fully synced. I am able to send and receive Bitcoin payments. I hate the fees and waiting, so I want to use Lightning Network. I've spent countless ...
1
vote
1answer
109 views

How can I determine the reason for a failed routing on c-lightning

I am running a c-lightning node (v0.8.2). I am routing a payment every few days. However, I realized that dozens of payments every day fail, many of them fail locally (I see the status 'local_failed' ...
1
vote
0answers
46 views

Preparing a transaction with many outpts

What would be the exact command to prepare a transaction with multiple outputs, to a specific address? I'm able to list all my outputs with lightning-cli listfunds, but I'm not sure how to include ...
1
vote
0answers
15 views

Why does the funder send the signed settlement to the counter-party in eltoo?

Quoting from the Eltoo paper: Before signing and broadcasting the funding transaction the funder requires the other endpoint to create an initial settlement transaction that returns the funds back to ...
1
vote
1answer
129 views

Problem with the first Initialization of my LN node, dial tcp my-external-ip:9735: connect: connection timed out

Background I was following 402 Payment Required's LN video and everything was good until the moment of the first Initialization of my LN node. I got an error: dial tcp my-external-ip:9735: connect: ...
1
vote
0answers
51 views

When commit_fee (fee_per_kw) renegotiation?

Looking at my channels on lnd node, fee_per_kw values are different for some channels (13332 or 6422). How is the fee_per_kw calculated when opening the channel? Does it take current bitcoin fees ...
1
vote
0answers
44 views

LSAT - stateless proof of payment through specific form of preimage

I am aware LSAT consists of macaroon and preimage. Preimage is part of the HTLC construction to route payments in lightning. It is generated by the receiver and eventually known by all participants on ...
1
vote
0answers
22 views

How to open channel with output of closing channel? [Lightning Network]

How can I automatically open a new channel while closing another, avoiding to create an unnecessary intermediate transaction? Do any wallets support it at the moment, or would I have to do it with a ...
1
vote
0answers
47 views

How can I check my transaction signature is correct?

I have tried recreating the exact transaction from "Appendix B: Funding Transaction Test Vectors" from BOLT 3 from the Lightning RFCs. My transaction looks exactly the same when parsed, except my ...
1
vote
0answers
66 views

Bitcoin Lightning Network

I created a channel in lightning network, did the payment and the channel balance of the receiver got updated. But after closing the channel , the wallet balance of the receiver is not getting updated ...
1
vote
3answers
937 views

Running into ELIFECYCLE error while trying to install filebazaar

Trying to install filebazaar on Ubuntu 18.04 and getting an error on the canvas module... anyone familiar with this issue? I've been all over node-canvas's github issues (such as this one where I left ...
1
vote
0answers
177 views

Error pay invoice. Ran out of routes to try after 2 attempts: see paystatus

I wanted to send some satoshis on testnet lightning network but I got "Ran out of routes to try after 2 attempts: see paystatus" error. I have a channel with 02...48 (1ML.com node ALPHA) and created ...
1
vote
1answer
107 views

Failed to start lightningd.service: Unit bitcoind.service not found

I followed the tutorial https://medium.com/@meeDamian/c-lightning-node-on-rbp3-b950660fb835 without error. When I type: sudo systemctl start lightningd I get Failed to start lightningd.service: ...
1
vote
1answer
154 views

How can I make Zap synchronize with the Bitcoin network?

I'm using the Mac operating system. I downloaded Lightning App and Zap from Github. The wallet can not be synchronized with the network, how can I synchronize it and can I do it without having to ...
1
vote
0answers
38 views

Lightning Network: are all keys pre-generated in the base row of the merkle tree?

From the whitepaper, page 41: Keys are generated in a merkle tree and are very deep within the tree. For instance, Alice pre-generates one million keys, each key being a child of the previous ...
1
vote
0answers
85 views

How to implement Lightning Network in to a cryptocurrency exchange

A highly potent use-case for the lightning network are the millions of transactions that occur on a daily basis. There's still a good chance of data breach and hacks due to centralization. The ...
1
vote
1answer
310 views

Can you use the same seed for normal BTC and Lightning wallets?

If I generated 24 words from a Ledger Nano, can I import these to a lightning network wallet e.g. Eclair?