Questions tagged [lightning-network]

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

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
62 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
0answers
29 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
38 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 ...
3
votes
0answers
40 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
2answers
47 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 ...
3
votes
1answer
40 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
38 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
72 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
295 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
39 views

lnd and Bluewallet LndHub integration error

I am attempting to setup LndHub with a Pi3 via docker-compose. After bitcoind blockchain sync completed, judging by the logs from lnd (Lightning) and LndHub, it seems like LndHub is having trouble ...
2
votes
0answers
55 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
42 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
138 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
45 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
166 views

Why do we need revocation in both the offered/received HTLC outputs and HTLC timeout/success outputs?

The witness script for the output in the HTLC success/timeout transaction is: OP_IF # Penalty transaction <revocationpubkey> OP_ELSE `to_self_delay` OP_CHECKSEQUENCEVERIFY ...
2
votes
2answers
173 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
39 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
489 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
132 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
735 views

Is it possible to run two Lightning Network nodes on top of single Bitcoin Core node?

I would like to simultaneously run LND and Eclair nodes on top of single Bitcoin Core bitcoind node. Is it possible? I wasn't been able to pull it off so far. If possible, how to set up ZMQ and ...
2
votes
2answers
551 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
99 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
165 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
161 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
1answer
23 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 ...
1
vote
1answer
17 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
28 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
159 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
66 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
65 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
45 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
14 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
93 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
48 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
37 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
20 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
45 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
63 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
916 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
160 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
100 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
148 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
37 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
293 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?
1
vote
1answer
57 views

Why is the coinbase bitcoin withdrawal fee 10 times cheaper than my usual P2P Exodus transaction?

Do you know why the Coinbase bitcoin withdrawal fee is 10 times cheaper than my usual P2P Exodus transaction? Are they use the Lighting Network? How is it possible? For example, the Binance withdrawal ...
0
votes
0answers
9 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 ...
0
votes
1answer
21 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 ...
0
votes
1answer
23 views

How to encode for LND `/v2/signer/verifymessage`?

Talking to just one node (baby steps), I want to call /v2/signer/verifymessage giving the output of lncli signmessage "Hello, Jessica". On the alice node on Polar, I get: ...