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
1
vote
1answer
89 views

Lightning network: how are "only X can broadcast" transactions implemented?

The Lightning paper states on page 12 (emphasis mine): This can only be enforced if one is able to ascribe blame for broadcasting an old transaction. In order to do so, one must be able to ...
1
vote
1answer
542 views

Lightning network explaination (bidirectional channel funded by one party)

Let's say Alice and Bob want a bidirectional lightning channel with common 2-2 multisig address C. Alice is the only one putting funds in, say 100BTC. They agree on nLock of these funds to be 30 days ...
1
vote
1answer
217 views

What happen if a popular channel hub turns dishonest?

I've read and watched as many presentations as I could about the lightning network. I have a few questions about the economic model of the network. What would happen when a large hub turns nefarious ...
1
vote
2answers
280 views

Is lightning network censorship resistant?

I know this is a hot topic at the moment, and I really don't want to create some kind of debate here, i'm just interested in if this question is adressed. Any other place where I have spent time, it's ...
1
vote
2answers
528 views

How do other nodes know my balance with LN?

Consider the following 3 nodes, A, B and C. At time t=0, A has 10 bitcoins. A sends 6 bitcoins to B. Then, A attempts to send 6 bitcoins to C. With on-chain transactions, the second transaction is ...
1
vote
1answer
261 views

How are transactions invalidated by nodes when both parties are offline in a Lightning Network?

Let's imagine Alice wants to send multiple transactions to Bob. Both Alice and Bob have open channels with Carol, not with each other: Alice <-> Carol <-> Bob So Alice first sends 0.01 ...
1
vote
1answer
503 views

Is the Lightning Network susceptible to man in the middle attacks?

It seems like a man in the middle attack could be performed in a Lightning Network. Let's say A opens a channel with B. If A manages to control all the connects B has to the bitcoin network (...
1
vote
1answer
189 views

Do HTLC transactions work today or do they need a new soft-fork?

I thought that HTLCs were just a kind of a script construct that would allow to unlock funds for a period of time, which can be unlocked to anyone that provides the original string that matches the ...
1
vote
1answer
145 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
76 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
29 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
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
170 views

Lightning-Network Channel not being closed and balance in "limbo"

My node Caffeine has a channel in pending status (close txid: 0de535ea74d72a952157640187b5a207fe977870a5c9b92f0aa99b9707c94779) with The Cave since months! My local balance is stuck in a "limbo&...
1
vote
1answer
109 views

What are the best practices to close and reopen channels in order to increase capacity

I am new in the lightning so I opened a small channel with 50k sats to get started. After some research and try-and-error I would like to increase the capacity of this channel. I know that this is not ...
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
254 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
80 views

Is there a simple-to-use Windows-10 client for Lightning Network? [closed]

I'm having trouble finding a Windows 10 client for Lightning Network which is simple to use and which can be installed without needing to learn a lot about the underlying technical concepts. Is there ...
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
0answers
43 views

clients that support the Lightning Network? [duplicate]

Which clients, besides Electrum, support the Lightning Network?
1
vote
1answer
106 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
125 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
42 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
1answer
77 views

c-lightning missing outputs

A few days ago I did a submarine swap in order to rebalance a channel of mine. I opted to be refunded on-chain using a brand-new address generated with c-lightning newaddr command. I used the p2sh ...
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
1answer
67 views

lightning node data visibility on explorers

I'm trying to set my first c-lightning node with docker-compose using image from https://hub.docker.com/r/elementsproject/lightningd. currently, my node can connect and open channel with other nodes (...
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
479 views

How does one generate a paper wallet for a Lightning Bitcoin address?

Is there a paper wallet generator for a Bitcoin Lightning addresses? How can one generate it in javascript?
1
vote
1answer
316 views

How can "Lightning Loop Out" help me to receive more payments?

In his blogpost, Alex Bosworth describes that “emptying of the channel allows them to receive more payment” (https://blog.lightning.engineering/posts/2019/03/20/loop.html). But how can I allow more ...
1
vote
1answer
1k views

How to perform CPU mining on bitcoin TESTNET on Linux?

I need approximately 100 Bitcoin Testnet to run an experiment on the lightning network. Any suggestion on how to run CPU mining? Should I use cgminer? Make any sense to perform solo mining on ...
1
vote
2answers
981 views

Connecting to a node and opening a channel

What is the difference between connecting to a node and opening a channel with a node in the lightning network? What are the events happen when I just connect to a node?
1
vote
0answers
50 views

library for light-weight wallet : btcsuite or BitcoinJ [closed]

Do btcsuite + Neutrino(Lightning-lab) together provide sufficient foundation for light client capable to service onchain transactions (not multisig & not related to Payment Channels)? Or is it ...
1
vote
1answer
332 views

lncli pendingchannels output: difference between `pending_closing_channels` and `waiting_close_channels`

When plotting lncli pendingchannels, two of the outputs are oddly similar: pending_closing_channels and waiting_close_channels. I have only seen my closed channels either as the output closedchannels ...
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
0answers
34 views

Has Lightning Network seen any fraud or major vulnerabilities? [closed]

I'm curious to know has LN faced any major issues so far?
1
vote
1answer
152 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
307 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
334 views

ZeroMQ support in Bitcoin Core 0.16.0 out-of-the-box?

In my previous question, I'm wondering why Lightning Networks lnd cannot talk to my Bitcoin Core bitcoind backend. The docs for lnd says it requires ZeroMQ compiled into bitcoind. Does the binary ...
1
vote
0answers
85 views

what happens if one node goes down in lightning network multihop payments? [duplicate]

In a scenario where we have the following lightning payment channels: Alice <-> Bob <-> Carol <-> Dave Alice wants to pay Dave. Dave generates a payment request by selecting a random R and ...
1
vote
3answers
732 views

When using the lightning network, do you have to lock or deposit your coins somewhere?

Trying to understand the lightning network some more. When using this new 2nd layer on top of bitcoin. Do you lock your bitcoins on the lightning network so you can get "pegged" equivalent bitcoin ...
1
vote
1answer
73 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
2answers
133 views

If Lightning Network takes transactions off Blockchain, would that defeat the whole purpose of having a Blockchain ledger?

Currently Bitcoin transactions can take around 45 minutes. If everyone in the world uses Bitcoin, computers would have to consume 1000 of terabytes per Hour. The solution is the Lightning network, ...
0
votes
1answer
307 views

How does LN solve the liquidity problem?

How do nodes in LN manage to provide 100% collateral to all the outgoing channels? I attached an example below that details my confusion about the lack of liquidity.

1
10 11
12
13 14
16