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
43 views

Do payment channels have an address? And where are their transactions actually being written to?

In the Lighting Network or with micropayment it's possible to open up payment channels that basically work like a smart contract. At the beginning, the channel is funded by one or two parties with ...
0
votes
2answers
130 views

Hosting lightning node and non-custodial

In Bitcoin we can have a light wallet where we are connected to a full node, by doing this, we have to trust that the full node is feeding correct information, but at least we can store our keys in ...
0
votes
1answer
40 views

Lightning Network wallet applications for different operating systems?

What are the best / most secure wallet applications of Lightning Network for each of following operating systems/platforms ? Windows Mac OS android iOS web browser extensions
0
votes
1answer
340 views

Removing "hub-and-spoke" property of Lightning Network?

Lightning Network is based on this idea: "Near-zero fee transactions with hub-and-spoke micropayments" (Link to the article) proposed by Peter Todd. An article entitled: "Mathematical Proof That the ...
0
votes
2answers
73 views

Lightning network in real world

Newbie in this area. Trying to understand how lightning network would work in real world. If I want to buy a coffee on BTC network, I go and pay and unfortunately me and the cashier need to wait 5-10 ...
0
votes
1answer
33 views

Is there already reached consensus on network upgrades like Taproot, Submarine Swaps?

I have read about some very interesting new protocol amendments. I am not asking for their explanations, but would be great if anyone explained their current status, if they are still considered to ...
0
votes
1answer
128 views

Lightning Network LND - Retrieve payment by hash

How do I get an outgoing Payment by paymentHash using LND REST API? I know that GET /v1/payments returns all payments, but I would like to get one in particular, not all as there may be thousands. ...
0
votes
1answer
143 views

What is the 'tlv_payload' in lnd route?

When creating a custom route, if you use the queryroutes from lnd it sometimes with tlv_payload set to either True or False. How does the node figure whether to set this flag? I cant seem to find ...
0
votes
1answer
129 views

Bidirectional channel opening in c-lightning

With the current version of c-lightning is it possible to open a bidirectional channel funded by both parties? I managed to open a channel with fundchannel command, but that seems to be a ...
0
votes
1answer
110 views

How to securely update and verify C-Lightning release?

Recently, a new version (v0.7.3) of C-Lightning was released. The GitHub page has detailed instructions on how to build the software from source, but does not provide much details as to how to update ...
0
votes
1answer
63 views

Is a bitcoin UTXO divisible?

In this video Andreas Antonopolous says an output is indivisible and therefore if a transaction smaller than the output is done, the rest is used as change and returned to your different address of ...
0
votes
2answers
205 views

Lightning - Question about force-closures of channels and its impact on recovering funds

Dear Lightning experts, someone mentioned in context with lightning channels the following things, and I would like to ask you if this statements are true, and if yes, is this a problem in a future ...
0
votes
1answer
83 views

What is the technical difference between BTC and LN wallets?

What is the technical difference between BTC and LN wallets? Are they generated via a diferrent algorithm or format?
0
votes
1answer
218 views

How to send a payment through a route saved in a json?

From lncli network=testnet sendtoroute -h: NAME: lncli sendtoroute - send a payment over a predefined route USAGE: lncli sendtoroute [command options] [arguments...] DESCRIPTION: Send a payment over ...
0
votes
2answers
294 views

LND Security best practices? Disaster recovery?

Can anyone share a knowledge how to _ secure LND node _ backup node with all Channels I think only a seed will not be sufficient. What is your plan B in case of disaster? How to do an Emergency ...
0
votes
1answer
64 views

Why would apps use Lightning over an on-chain TX?

I'm trying to understand software orientated payment use-cases for Lightning payments. Given a web app that accepted BTC payments charged in Satoshi for a service - watching videos for example; why ...
0
votes
1answer
201 views

c-lightning determine channel capacity

I'm using c-lightning to experiment with sending micropayments backwards and forwards between 2 separate nodes. One area I am experiencing great difficulty with is being able to generate an invoice ...
0
votes
1answer
134 views

Why do we need a "routing" process in Lightning Network?

If I am wrong, please correct me. If we simplify Lightning Network, it seems to work similar to this simple unidirectional payment channel between two parties (although, Lightning Network is a ...
0
votes
1answer
85 views

"state channel" v.s "micro-payment channel" : are they the same?

We use "micro-payment channels" such as "Bitcoin Lightning Network" or "Duplex Micro-Payment Channels" for saving transaction fee, accelerating payments, supporting better micro-payment and scaling ...
0
votes
2answers
683 views

Is it possible to / should one use a Lightning Network client?

When looking at all of the examples with the Lightning Network, they involve "Alice" and "Bob". Alice is usually sending some kind of payment to Bob (or vice-versa). The thing is, "Alice" and "Bob" ...
0
votes
1answer
89 views

BTC Lightning Network

Can someone please give me some insight as to when LN will be fully operational on the bitcoin network. Additionally, as outlined in the 2008 Nakamoto whitepaper, the solution to the double-spend ...
0
votes
1answer
86 views

Will Lightning be implemented on Bitcoin network?

Lightning cannot currently operate with pruned nodes. I presume without limitation the same applies to SPV nodes. Will Lightning be implemented on the Bitcoin network?
0
votes
1answer
35 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 ...
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 ...
0
votes
1answer
50 views

How can I speed up payments to my c-lightning server?

I setup a BTCPayServer on an AWS instance with a pruned bitcoind and c-lightning. I setup an inbound channel from Bitrefill and everything does work but I'm disappointed about the performance. Using a ...
0
votes
1answer
81 views

Other than relying on "side-chains", is there any way that Bitcoin could solve "micro transactions"? [duplicate]

I am very aware of the Lightning Network, and have repeatedly tried to gain a full understanding of it and start using it. I find that, whether it's due to it being too complex or me being too stupid, ...
0
votes
1answer
231 views

Convert Electrum p2pkh wallet to p2wpkh one?

Is it possible, in Electrum, to convert a p2pkh wallet to a p2wpkh one, so I can use the Lightning network?
0
votes
2answers
131 views

What is the estimated USD fee price in BTC when Bitcoin is worth 1 million dollars in the future?

Currently, fees in Bitcoin are quite high ($1-$30) to move anything under $50 USD. If Bitcoin is worth 1 million dollars one day, how much would an on-chain fee be? Assuming blocks are going to be ...
0
votes
1answer
77 views

How to resolve eclair-node-gui-0.3.3-12ac145.jar getting CAPSULE EXCEPTION after java update to version 11.0.9.1?

I've been running Eclair node release eclair-node-gui-0.3.3-12ac145.jar smoothly for some time now on Ubuntu 18.04.5 LTS, but recently had an update to the java version i was using to the latest (?) ...
0
votes
1answer
31 views

Simulate HTLC in regtest c-lightning

I have three nodes in regtest environment l1, l2, and l3 l1 create a channel with l2 l2 create a channel with l3 l3 create an invoice for l1. l1 can pays it because use the route l1-l2-l3 I presume ...
0
votes
1answer
85 views

Is there a limit to the TLV size?

I hear that a TLV field was recently added to the payment format. This will allow the sender to attach a message to the recipient in the payment package. How much data can be included in the TLV field?...
0
votes
1answer
45 views

What is the difference between reliance on miners on Drivechains and Lightning?

It's commonly said that the Drivechains proposal gives much power to miners and that they can steal money from these drivechains, but I keep thinking that if what they can do is to vote on which ...
0
votes
1answer
135 views

How can I create HTLCs below dust_limit_satoshi in Lightning Network?

BOLT#2 documentation for open_channel message has two points (dust_limit_satoshi and htlc_min_msat) in the data message that I found confusing. Below is the statement related to dust_limit_satoshi: ...
0
votes
1answer
43 views

How can I find the transaction that spends a specific output via an API?

I am wondering how I can find the transaction that spends a specific output (for a large number of transactions). So for example, I have a transaction like the following: https://www.blockchain.com/...
0
votes
1answer
67 views

Total channel count differs from explorers

I have my own c-lightning node. listchannels returns 11,455 but explorers, e.g https://explore.casa/ show around 39,000. Do I need to set something to get all channel info? $ lightning-cli ...
0
votes
1answer
55 views

Is it possible to get Node Id that paid an invoice?

I know it's possible to decode an invoice to see which node ID signed it by decoding it according to specs. Is it possible to get Node ID that paid an invoice to my node?
0
votes
1answer
59 views

What happens when invoices get paid more than once?

Until today I thought, that lightning invoices can only be paid once. Where do the funds go when an invoice is paid more than once? Will every payment reach the destination node or can reusage be ...
0
votes
1answer
70 views

Security of ChaChaPoly (IETF rfc7539) in the noise protocol framework of the Lightning Network

According to this paper ChaChaPoly is secure against chosen known plaintext attacks. I wonder however if that security assumption is weakened by a lot since messages sent on the transport layer of the ...
0
votes
3answers
154 views

Sharing the lightning-rpc socket

I'm using user "lightning" to start the daemon, but would like to have user "bitcoin" to make the lightning-cli calls. How do I share the lightning-rpc file to do so? Thanks! Francois
0
votes
4answers
1k views

How to "cash out" of the Lightning Network without closing channels?

I am working on an ecommerce site that accepts lightning payments and was curious about how to "cash out" to pay vendors without closing channels to customers. I was planning to run two LN LND nodes ...
0
votes
2answers
268 views

Is there anything preventing Lightning Network from passing embedded data in OP_RETURN?

As long as you pay a BTC fee for all the routing node incentives and the last layer in the onion routing includes a transaction with OP_RETURN, wouldn't that allow using OP_RETURN for various ...
0
votes
1answer
86 views

Are Tor .onion-addresses IP address independent?

Is it possible to move the node to a different IP address and keep the existing (=preciously open and funded) channels functional?
0
votes
1answer
122 views

Do extra hop channels in a BOLT#11 invoice need to exist on chain?

According to the BOLT#11 specification, a node may add extra routing information for private channels to an invoice, where they specify the public key of the penultimate hop, along with the ...
0
votes
1answer
229 views

Ownership of private keys in the Lightning Network

My question refers to the technical side: who is holding the private keys if a third party is using my lightning node to participate in the Lightning Network payment channel ? Thank you
0
votes
1answer
57 views

Lightning Network: what about tx fragmentation?

I really have no idea how to aks it right. Let me give an example: We have a some peoples A,B,C,D.... And A makes transaction to B, then A need to pay to C, then send some coins to D, etc... After ...
0
votes
1answer
50 views

does Lightning Network can work and solve Bitcoin scalability problem? [closed]

from what i managed to understand(if i got it right), the lightning network is supposed to work by using "channels" which can be created by some users with some seller and also be used by anyone who ...
0
votes
1answer
234 views

Lightning networks revocable commitments: unilaterally closing could cause funds lost forever?

If I understands correctly, A and B will exchange their revocation key once they are ready to move to the next state. What happens if B received the revocation key and decided to close the channel ...
0
votes
1answer
127 views

BIP Difference between final and active

What is the difference in the Bitcoins Improvements Proposals between the final status and the active status? According to the wiki An Proposed BIP may progress to Final only when specific criteria ...
0
votes
1answer
122 views

Lightning network avoiding bad channels

Lets say I open a lightning network channel and the other party goes offline. Lets say I haven't actually used the channel yet. What if I want my bitcoin back from that channel so I can use it. I ...
0
votes
2answers
435 views

Lightning network smart contract technical explaination (unidirectional payment channel)

Let's observe direct unidirectional lightning channel between Alice and Bob. How does this start technically: They first create a 2-2 address C. They agree on the funds Alice will put into C, say ...