Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-network]

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

1
vote
1answer
426 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 ...
4
votes
2answers
1k 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
61 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
464 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 ...
12
votes
3answers
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 ...
4
votes
1answer
223 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
60 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
152 views

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

I thought that HTLCs was 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
176 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 ...
3
votes
0answers
35 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 ...
5
votes
1answer
142 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: ...
10
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
454 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
104 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
265 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 ...
5
votes
1answer
1k views

What is a hash pre-image as it is used for the breach remedy?

Until this afternoon I thought the anti-cheat transactions or breach remedies built on the exit-transaction of the counterparty. Apparently, they build on something called a "hash pre-image". What is ...
0
votes
2answers
78 views

Is there any tech that uses a signature as a private key?

I've been pondering how the Lightning Network will work when one of the parties in a channel tries to cheat. It seems that publishing a transaction that shouldn't be published (a "bad act") must ...
4
votes
1answer
271 views

Can you send amounts that would typically be considered 'dust' through the Lightning Network?

Reading through the Lightning Network Paper, it seems that amounts sent through an intermediate node use the Hash Timelocked Output construction. The thing I'm concerned about with HTLCs is that they ...
4
votes
1answer
512 views

Lightning network and lightweight clients

How will the lightning network handle lightweight clients? Do I understand it correctly that opening a payment channel require writing on the blockchain to protect against double-spend? The integrity ...
9
votes
1answer
156 views

Channels state validation in lightning network?

I looked into docs but didn't find any information, how do client get information about the state of intermediate channels? Since channel transactions are offchain, and only channel participants ...
6
votes
2answers
232 views

Does anyone get custodial control of your funds when using Lightning Network?

When I open a payment channel on Lightning Network, do I need to subject my funds to custodial control of another party? Is there a counterparty risk in Lightning Network?
6
votes
1answer
366 views

How are Lightning network, duplex channels, and micropayment channels related?

I'm new to Bitcoin and just became familiar with Micropayment channels. But how exactly do they relate to: Lightning network Duplex Micropayment Channels ? I am reading about these but can't find a ...
8
votes
1answer
313 views

Lightning Network scaling alternatives?

I'm really looking forward to the Lightning Network and all the efforts being put in by Blockchain.info, Blockstream, and others. But I was wondering if there aren't other options for decentralised ...
18
votes
2answers
2k views

What security weaknesses result from using off chain solutions?

What type of security weaknesses are potentially created by using off chain solutions (such as the lightning network) for a portion of Bitcoin network traffic?
6
votes
1answer
1k views

How does the thunder network work? And how does it keep things decentralized?

How does the new thunder network work? How does it keep things decentralized?
7
votes
2answers
422 views

For lightning network, can I surround myself with a bunch of nodes to increase anonymity

Let's say I'm on a lightning network. Can I create a bunch of nodes, and do all my spending through those nodes? Can you hide the fact that these nodes are likely controlled by the same person? How ...
2
votes
1answer
77 views

Is CheckSequenceVerify only a stop-gap measure?

The Lightning Paper v0.5.9.2 says that CSV "would permit further abilities, including allowing a stop-gap solution before a more permanent solution for resolving transaction malleability. A future ...
2
votes
1answer
2k views

Is the Lightning network a proof-of-stake system?

In his recent talk, Andreas Antonopoulos said "By probably the end of 2016, Bitcoin will have a hybrid proof-of-work/proof-of-stake system." and then continues to label the Lightning network as a POS ...
11
votes
3answers
2k views

Is centralization in the Lightning network inevitable? Why (not)?

Especially keeping in mind the possibility of single-funded channels (see Tadge's Google Doc Slides), buying from an exchange and concurrently opening a payment channel on the Lightning network would ...
50
votes
3answers
17k views

How does the Lightning network work in simple terms?

Could you please describe how the Lightning network is supposed to work? How does it scale better than pure blockchain transactions? What are the advantages and disadvantages of Lightning Network ...
28
votes
3answers
5k views

How are paths found in Lightning Network?

I understand now how multihop payments can work in LN, but how do we discover payment paths in Lightning Network in the first place? Obviously you'd need to take into account the available capacity ...
9
votes
1answer
1k views

How is a node in the middle prohibited from keeping the money in a routed Payment in Lightning network?

It is my understanding that Lightning is to scale with users having only few payment channels by leveraging the six degrees of separation theory to facilitate payment routing. I understand how onion ...
10
votes
2answers
494 views

Transaction overriding in lightning network

I'm reading the lightning network whitepaper, and at some point it states this: Therefore, it is possible in bitcoin to devise a bitcoin script whereby all old transactions are invalidated, and ...
14
votes
2answers
1k views

What are the trade-offs between transacting on Lightning Network and Bitcoin mainchain?

Lightning network's first prototype code is online, so it's about time we learn more about what it is. (At least I wish some people would…) What are the expected trade-offs of Lightning Network to ...
3
votes
1answer
337 views

Is Lightning Network vulnerable to sybil attacks?

A dialogue partner of mine claimed that Lightning Network is vulnerable to sybil attacks. He stated that LN needed explicit identities in order to support the "routing" which would cause ending up ...
0
votes
0answers
79 views

Crossblockchain Checkpoint Consensus?

Are there any discussion threads about the topic below that can be identified? Would recording signed block checkpoints of a proof-of-stake (PoS) blockchain in a proof-of-work (PoW) blockchain by ...
5
votes
2answers
423 views

Does Ethereum support the features necessary to create the Lightning Network?

The Lightning Network of micropayment channels is a concept first conceived by Joseph Poon and Thaddeus Dryja. It requires a few features of bitcoin that are not available yet. OP_CHECKLOCKTIMEVERIFY ...