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

How to prevent lightening network spend two times the balance?

If I choose off-blockchain transaction in Lightning network is it any mechanism to check wether balance covers mount of transaction? So is it, or isn't it possible spend two times the same amount of ...
0
votes
1answer
113 views

How can I start off-block transaction in LoafWallet?

Lightening network promise, basic principle is, transaction not need to add to blockchain but cumulate them and submit all together for a reduced amount of fee. How can I choose such an option in ...
3
votes
1answer
122 views

Duplex micropayment channels: criticisms of Lightning and implementation

A paper from 2015 by Decker and Wattenhofer proposes an interesting design for a payment channel network, which differs from the Lightning network. The authors claim in the Related work section that ...
4
votes
3answers
1k views

Why can't lightning network channels increase balances?

If A and B have a Lightning Network channel,it was opened with a funding transaction (say, 1BTC from both sides for 2BTC total). After A has spent some time transacting with B, the balance of the ...
3
votes
1answer
353 views

Lightning network: how was malleability actually fixed?

Section 3.1.2 of the Lightning paper (Version 0.5.9.2, last modified 14 January 2016) discusses ways to fix the transaction malleability issue, which prevented Bitcoin transactions from spending UTXO ...
1
vote
2answers
415 views

Lightning network: Are decrementing timelocks used in bi-directional channels?

I am surely not getting some part of this, but it seems to me that the paper and the video (both listed on the official Lightning website) contradict each other. In particular, the paper describes a ...
1
vote
1answer
88 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
531 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 ...
0
votes
2answers
431 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 ...
1
vote
1answer
563 views

Clarification of lightning network example (putting funds into lightning)

I'm checking How does the Lightning network work in simple terms? answer example: 1) Putting funds into Lightning We both send 0.5 BTC into a shared 2-of-2 multisig address. This requires a ...
0
votes
1answer
163 views

First step in understanding lightning network [duplicate]

I'm checking https://lightning.network/ and first paragraph of explanation says: Bidirectional Payment Channels. Two participants create a ledger entry on the blockchain which requires both ...
0
votes
1answer
117 views

What are the arguments for and against using the Lightning Network with Bitcoin?

In addition to the question in the title, when will Lightning Network go online, or, if there isn't a proposed date yet, what is a ballpark indication of when it might go online?
1
vote
1answer
215 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 ...
5
votes
1answer
4k views

How come the lightning network creators believe the fees will be zero?

In this article, Joseph Poon and Tadge Dryja say that they believe the lightning-network-fees would be less than 1 satoshi per node you transmit through, in practice. As far as I understand, you ...
2
votes
2answers
433 views

Is Lightning Network a blockchain technology?

Does the Lightning Network use a blockchain? Is the Lightning Network still blockchain technology or not anymore?
6
votes
2answers
709 views

In the Lightning Network, what happens if a “middle node” suddenly goes dormant for a long while?

I think I have a general understanding of how the Lightning Network works. However, I was having a little difficulty in understanding what happens when a node in the middle of a "path" suddenly goes ...
1
vote
3answers
692 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 ...
4
votes
1answer
91 views

Same entity controlling separated parts of a a lightning path

Given the lightning path Alice → Bob → Carol → Dave → Emilee (with Alice being the sender and Emilee being the receiver), assume Dave and Bob to be the same entity. By pulling funds from Dave to ...
2
votes
1answer
351 views

Which is the best LN software?

I know that software for the Lightning Network can only be used with testnet and not with real Bitcoin yet. I'm trying to choose one LN software among C-Lightning, ACINQ, AmikoPay, Thunder, Lit and ...
1
vote
1answer
257 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 ...
5
votes
1answer
258 views

Will all crypto-currencies exist on the same lightning network?

In the basic form, lightning-network is a chain of iou:s in one currency. But as far as I have understood, the plan is to put atomic swaps on lightning network. Will this mean that all currencies ...
4
votes
3answers
2k views

How is the lightning network secured against hacking and double spends?

As I understand payment-channels, like the lightning network, they are working off chain (no record in the blockchain). The only record to the blockchain is the deposit transaction to open the payment-...
1
vote
2answers
525 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 ...
8
votes
1answer
1k views

How do I restore a Lightning Node with active channels that has crashed causing data loss? Is it similar to restoring a Bitcoin wallet?

If my lightning node crashes after receiving payments (but before I have closed the channel) can I recover my funds? What happens if I do not have backups of all the channel updates? Is the ...
6
votes
3answers
1k views

Does a segwit based side chain like the lightning network allow for fractional reserve?

I'm confused. I've watched the video The Lightning Network Explained (Litecoin/Bitcoin), and read the following comments by Craig Wright: This occurs because schemes such as segregated witness ...
6
votes
2answers
3k views

Is it possible to add funds to an already-open lightning network channel?

I would think that user A on a channel should be able to add bitcoins to a channel using the following steps: Create a transaction sending more money into the main multi-sig account Create a refund ...
7
votes
2answers
940 views

How do “trustless third-party watchers” work in Lightning Network?

The main point with LN is the need to monitor the blockchain. The reason for this is to detect if the counterparty misbehaves by publishing an old channel state to the blockchain. For a node running ...
9
votes
1answer
585 views

Would it be possible to send money through the Lightning Network to an offline address?

My understanding is that the current Lightning Network spec requires an address receiving money to sign things with its private key - which requires the owner of that key to be online. Are there any ...
9
votes
1answer
2k views

How does Lightning transaction revocation work?

I've been reading about the Lightning Network, and I feel like I alllllmost understand it, but I can't quite figure out how the revocation transactions are designed so user A can claim the channel's ...
3
votes
2answers
1k views

The cost of restarting a lightning channel

I have some questions about the cost of maintaining a lightning channel between two people. For this question, let's assume that the blockchain mining fee is $1 per transaction. Question 1: Suppose ...
1
vote
1answer
435 views

Security for Lightning Network nodes?

Imagine a Lightning Network node A that maintains a bidirectional payment channel with one peer B. For this channel to be maximally useful, some of its value must belong to A. To update channel state, ...
9
votes
2answers
3k views

Do parties in a Lightning Network channel need to be online?

I'm thinking of a scenario where users on mobile devices using a LN client will rarely be online. Let's say Alice opens a channel with Bob and they make 10 LN transactions. After Alice has received ...
6
votes
1answer
461 views

In a Lightning Network who commits to the blockchain the final transaction?

So let's imagine a Lightning Network made up of thousand of nodes. Transactions are routed until the moment comes where all the channels need to be closed and commited I presume. Which node actually ...
1
vote
1answer
260 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
495 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 (...
3
votes
2answers
3k views

Will lightning network efficiently support a single payment of 25 cents?

Suppose my website sells emojis for 25 cents a piece. And I get 1000 unique customers that each buy just one. Will lightning network or any other technology allow me to process these transactions ...
5
votes
2answers
2k views

Is lightning network limited by the 'size' of channels?

Imagine we start with multiple channels which eventually link two individuals, Alice and Rob: (the BTC amounts is the total locked in their multisig address for their channels between each other) ...
2
votes
1answer
64 views

Can Segregated Witness function in an Emergent Consensus environment?

Same as subject. I've been finding it difficult to find any discussion on the current Emergent Consensus implementation and theory, but I have seen reservations. Does it adversely impact the ...
2
votes
1answer
548 views

Lightning Network: hashlocks vs private keys exchange

I am reading the Lightning Network paper and noticed that when describing bidirectional payment channels, the authors used "Breach Remedy transactions" and the exchange of the two parties' private ...
14
votes
2answers
3k views

Is Lightning Network a risk for Bitcoin security since it reduces miner fees?

does LN represent a risk for the Bitcoin ecosystem since it will reduce miner fees (the only income they'll have in a post-btc-minting world) and displace them into second layers? I couldn't find any ...
5
votes
1answer
280 views

Non-bidirection payment channels for lightning network

I am trying to understand the technology behind LN and similar concepts. As I understand it, LN is a network of bidirectional channels, which are created with some limited capacity, within which the ...
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
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 ...
2
votes
1answer
199 views

Would it be possible for miners to discriminate Lightning Network transactions?

What do transactions creating LN payment channels and resolving them look like? Are Lightning Network transactions distinguishable from other multisignature transactions? Would it be possible for ...
2
votes
0answers
42 views

How does lighting network ensure all parties cooperate [duplicate]

I somewhat understand the two way channels used in lightning. But I fail to see how trust is avoided. If I'm the middle node I'm perfectly fine with forwarding a payment, if I received the payment ...
4
votes
1answer
156 views

Does segregated witness allow to securely create LN channel opening transactions?

In Rusty Russell's paper about the simplified version of the Lightning Network, some problems about the practical implementation of the opening channel method from the original LN paper are mentioned: ...
11
votes
1answer
1k views

In Lightning Network, what are the proposals for solutions to transfers to offline end users?

Basic examples in LN always mention payments from an online end user to other online end user. But let's say we want to send a micropayment donation to a blog that does not have an always online LN ...
8
votes
1answer
572 views

What is the Lightning Network proposal? What problem is it trying to solve?

We already have a few questions about technical details of Lightning network, however, … What is the Lightning network proposal in the first place? What problem is it aiming to solve?
2
votes
1answer
116 views

Is transaction malleability the only consensus issue that needs fix to allow lightning network?

Is transaction malleability the only thing needs fix in the bitcoin consensus code to enable lightning network to be implemented? Of course, lightning network itself would need to be implemented, but ...
4
votes
1answer
359 views

Do Lightning Channels have to be resolved before a certain time?

I seem to remember that Lightning channels could remain open indefinitely with the introduction of CLTV. Yet, I'm confronted with claims that they time out and coins are lost when they do. This ...