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
15 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 ...
user avatar
1 vote
1 answer
26 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?
user avatar
2 votes
0 answers
22 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 ...
user avatar
2 votes
2 answers
74 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. ...
user avatar
6 votes
1 answer
396 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.
user avatar
0 votes
0 answers
12 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 ...
user avatar
1 vote
1 answer
32 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 ...
user avatar
1 vote
2 answers
46 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 ...
user avatar
1 vote
0 answers
27 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 ...
user avatar
2 votes
2 answers
792 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-...
user avatar
1 vote
1 answer
20 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 ...
user avatar
2 votes
1 answer
38 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 ...
user avatar
1 vote
0 answers
32 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 ...
user avatar
0 votes
0 answers
55 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 ...
user avatar
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.
user avatar
  • 13
2 votes
2 answers
76 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 97
0 votes
1 answer
45 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. ...
user avatar
  • 115
0 votes
0 answers
50 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 ...
user avatar
1 vote
1 answer
29 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?
user avatar
5 votes
1 answer
182 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 ...
user avatar
  • 258
0 votes
0 answers
25 views

Does a custodial service have to run tons of services for its wallets?

I am looking at lnd docs and it says that in an easy-mode I can have only one wallet which is online and running at a time. If I decide to build a custodial wallet service like BlueWallet for my 50 ...
user avatar
0 votes
1 answer
28 views

Lightning protocol modification for app

I'm currently building a Lightning platform for online sellers. I have found that timing can be very problematic: For example, two people want to buy the last item in stock or a unique item like a ...
user avatar
  • 13
1 vote
1 answer
30 views

Lnurl: Why are there min and max fields instead of an amount field?

When creating an lnurl, why do you need to specify a range of amounts to payout using the fields min and max? I would think it would make sense for lnurls to just take one specified amount like amount:...
user avatar
0 votes
1 answer
24 views

Is a lightning wallet registered in bitcoin blockchain?

Say, I create a wallet with an lnd create command. As everything is initially on Bitcoin blockchain, will the wallet address/metadata be written into blockchain? So, can I find the address of my ...
user avatar
0 votes
0 answers
33 views

Can I connect my lnd instance to BlueWallet node?

In my BlueWallet app on the iPhone I have a Lightning wallet with some satoshi in it. In its settings I see that the node is https://lndhub.io. On my computer I have a lnd instance running and ...
user avatar
0 votes
0 answers
31 views

Can I create an invoice for a Lightning address I don't own?

I am building a web service where User A will signup and enter a Lightning address attached to the profile. Then, User B would want to send some satoshi to the Lightning address of User A as a kind of ...
user avatar
2 votes
0 answers
25 views

Calculation of different Pubkeys in Lightning according to BOLT03

Lightning uses different Pubkeys to gain more privacy and security, I am not sure how they are calculated. In BOLT03 it says: The corresponding private keys can be similarly derived, if the basepoint ...
user avatar
  • 41
2 votes
0 answers
18 views

How to calculate the Hashes in Lightning

I was wondering how I calculate the hashes regarding BOLT03 Specification: The Revocation Pubkey is calculated like this: revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
user avatar
  • 41
2 votes
1 answer
132 views

Under what conditions would lightning channels be force closed automatically?

I suspect this depends heavily on the implementation, but maybe someone can shed light on the circumstances that would lead an implementation to force close a channel automatically. A user asked this ...
user avatar
  • 23
1 vote
1 answer
28 views

How to identify probing in the c-lightning implementation of the Lightning Network?

I'm currently looking at output from the c-lightning -listforwards command. A large portion of the payments are classified as local_failed with the failcode "4103 WIRE_TEMPORARY_CHANNEL_FAILURE&...
user avatar
0 votes
0 answers
42 views

Looking for Lightning Testnet Wallet with Lnurl capabilities

I'm looking to test an lnurl withdrawal. I created an lnurl withdrawal url using the OpenNode api. I have an htlc.me testnet lightning wallet. But it doesn't seem to have a way to input lnurls. Is ...
user avatar
0 votes
1 answer
54 views

Is it possible that Lightning Network payments may someday replace all Bitcoin transactions, rendering the block chain obsolete?

To tackle the scalability problem of Bitcoin the lightning network was introduced, which (if I understand correctly) adds an additional layer to the blockchain, allowing users to create a payment ...
user avatar
  • 3
2 votes
1 answer
60 views

Invoicing with BTC

I am trying to learn if there is a way in BTC to raise an invoice from a friend like in Paypal just by using a public address on the BTC wallet. I have checked the API is all leading exchanges, and ...
user avatar
  • 121
0 votes
0 answers
61 views

Can I connect from lnd on vps to bitcoind on my home network?

I want to change my lnd on ec2 from neutrino mode to full node mode and connect to my Umbrel bitcoind at home, I do not want to use ssh tunneling as much as possible and would like to connect to ...
user avatar
  • 1
1 vote
1 answer
54 views

LIGHTNING LND failed to load config: lnd.conf: unknown option: logdir?

In my lnd.conf: logdir=Z:\LND\logs logdir is a valid option according to: sample-lnd.conf but I get: Z:\LND> .\lnd --configfile=Z:\LND\lnd.conf failed to load config: Z:\LND\lnd.conf:55: unknown ...
user avatar
  • 164
1 vote
1 answer
38 views

Is there any estimation on the number of Lightning Network payment?

Everyone knows that LN helps scale Bitcoin by moving most of the micro-payment transactions off-chain. But what really happens in real life? How many payments have been made per month? Appreciate any ...
user avatar
  • 387
1 vote
1 answer
60 views

C-lightning configuration to use bitcoin blockchain data from another machine

I currently run a lightning node on umbrel on a raspberry pi. I want to experiment with c-lightning and want to run a new c-lightning node on my ubuntu laptop which utilizes the blockchain data from ...
user avatar
  • 41
2 votes
1 answer
27 views

How would one test the impact on the Lightning Network of a network split on the base layer?

How would one test the impact on the Lightning Network of a network split on the base layer (the blockchain progressing on two separate branches with each branch unaware of the other competing branch)?...
user avatar
1 vote
1 answer
28 views

Why do i need two signatures to enter 2nd stage in lightning network?

| +-------------+ \--------| commit tx B | +-------------+ | | | | | | | | A's main output | | | \------------------ to A ...
user avatar
1 vote
1 answer
40 views

Why there are so many different basepoint in lightning network?

Here are the scripts found in BOLT 03. Offered HTLC Outputs: 2nd stage output script: Why not just use one pubkey, like localpubkey?
user avatar
1 vote
2 answers
127 views

Port 9735 for both MAINNET and TESTNET

The default port for the Lightning Network is 9735. This is the case not only for nodes on MAINNET, but also for nodes on TESTNET. Why is that? What's the purpose of this? Wouldn't it make more sense ...
user avatar
0 votes
1 answer
45 views

what channel balances are implied by routing hints?

I understand that as part of a lightning invoice routing hints can be provided that provide information about private channels that can be used to reach the destination. I believe these are the r ...
user avatar
  • 3
1 vote
0 answers
33 views

Want to run a secondary node on a new machine and want to use the blockchain data of existing node

I run a lightning node (umbrel, raspberry pi). I wanted to build a secondary node(c-lightning) on my laptop (ubuntu), from scratch. I followed some steps from their github but I'm now confused the the ...
user avatar
  • 41
0 votes
1 answer
38 views

metadata along with payment within LN

Is it possible to send metadata along with a standard invoice payment within a Lightning network? Trying to find out if it is possible to distribute some sort of tokens(side chain) while paying with ...
user avatar
  • 293
0 votes
0 answers
31 views

Bitcoin transactions towards and from a Taproot

I am trying to solve a problem that was given to me as study material for a coding test. The problem requests the following: Create two Bitcoin transactions in testnet, one spending towards a Taproot ...
user avatar
1 vote
1 answer
79 views

With MuSig2 can we now avoid any privacy leak of a Lightning channel's onchain UTXO?

Now we have access to Schnorr and MuSig(2) onchain can we avoid any privacy leak of a Lightning channel's associated onchain UTXO?
user avatar
1 vote
1 answer
50 views

Settlement scalability after general adoption

How can bitcoin & lightning support a full planet adoption rate of settlements? Just trying to understand how this works, and whether or not this might be a problem. Lets imagine Bitcoin is ...
user avatar
1 vote
1 answer
100 views

Is it possible to cancel a lightning invoice?

Could the user who generates the invoice not just delete their secret so the payment would not be successful? Maybe there is a more eloquent way that wouldn't result in users funds being stuck for a ...
user avatar
  • 11
1 vote
1 answer
35 views

lightningd wont work: SQLITE version mismatch: compiled 3036000, now 3032003

I installed bitcoind and trying to run lightningd through this guide: https://github.com/ElementsProject/lightning/blob/master/doc/INSTALL.md#to-build-on-macos. I did everything it says. Bitcoin node ...
user avatar
  • 171

1
2 3 4 5
17