9 votes
Accepted

Are Micropayment channels still subject to malleability after BIP65?

There are a variety of different ways to construct a micropayment channel, but there are two designs that I think are particularly relevant to your question about "simple, one-directional, ...
user avatar
6 votes
Accepted

Micro-payments definition and ideal platform

I do not think there is anything to reach consensus on. very small payments (in relation to the transaction fees) they belong to neither (some developers will create a micro-payment solution on the ...
user avatar
  • 2,204
5 votes

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

All transactions that are sent between the two parties in a channel are valid bitcoin transactions, and they can be used to close the channel at any time by either party. When a channel is opened, ...
user avatar
  • 11.3k
5 votes
Accepted

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

They don't need to support those. As mentioned by Roman you could build the entire LN in one contract. You can even implement the LN Relative OP_CHECKLOCKTIMEVERIFY requirement in a much better way. ...
user avatar
5 votes
Accepted

How to obtain the Channel_ID from the Short_Channel_ID?

The short_channel_id points to the funding transaction of the payment channel by the format blockheightxtransaction_indexxoutput where the x is used to seperate the 3 values and the three values are ...
user avatar
5 votes
Accepted

Single-hop Payment vs Multi-hop payments

First of all at this point in time the whitepaper is pretty outdated and should only be considered as a rough conceptual guide. The Lightning Network Protocol itself is better and more accurately ...
user avatar
4 votes
Accepted

Payment channels with dynamic signatures

It's possible for Alice and Bob to agree among themselves to pay Carol and any number of other recipients (subject to limits on transaction size). However, it's not possible for Carol and other ...
user avatar
4 votes
Accepted

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

Both lightning channels and duplex micropayment channels (DMC) are proposals to create bidirectional micropayment channels, that is, micropayment channels that can be used in both directions (a user A ...
user avatar
  • 1,583
4 votes
Accepted

How to send payment through a predefined route?

TL;DR. You need to specify --final_cltv_delta=144 option in the lncli queryroutes command. Longer answer... When payment is routed through Lightning Network, each intermediate node has a potential ...
user avatar
4 votes

Single-hop Payment vs Multi-hop payments

One reason to use HTLCs for single-hop payments in the Lightning Network would be to make them indistinguishable from multi-hop payments to the receiver. This way, the receiver does not know whether ...
user avatar
  • 3,190
4 votes
Accepted

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

The payment channel between Alice and Bob is encoded as a 2-2 multisig Adress the balance of that Adress is the capacity of the channel. A channel is opened by sending funds to that multisig Adress ...
user avatar
3 votes

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

Even though Pieter Wuille has sad most of what was needed in the comments I will summarize this as an answer. Technically you could open a payment channel with every other person instead of creating ...
user avatar
3 votes
Accepted

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

Payment channels are a specific form of state channels used for forwarding payments (as in the Lightning network). State channels are a more abstract idea: In theory you could use the ideas of ...
user avatar
3 votes
Accepted

What are the pitfalls of repurposing the nLocktime field for backward compatability in eltoo?

I was hoping somebody else would answer this, since I am the author of eltoo, I would have preferred an independent answer. To recap: the locktime is used in eltoo to enable a numeric comparison ...
user avatar
  • 8,694
3 votes
Accepted

Do I have to pay Fees on the Lightning Network if there is a Payment Failure?

Short answer: No. Explanation: The fees are part of the onion routing package within the HTLCs. So a routing node accepts an incoming HTLCs and forwards it if there is a difference in value that can ...
user avatar
3 votes

How to fund a bidirectional payment channel?

First of all we should understand the difference between capacity of a channel and its balance. The capacity is the amount of Bitcoin provided to that channel. The balance encodes the amount of ...
user avatar
3 votes
Accepted

How to fund a bidirectional payment channel?

In your scenario you would like to create a payment channel with user 1 and 2 contributing (on-chain) and receiving (off-chain, in the payment channel) the following amounts: User 1: 2 btc User 2: 1 ...
user avatar
  • 2,423
3 votes
Accepted

How to close stale lightning channels with c-lightning

The problem seems that the other nodes are also offline which is why you can't connect to them. Luckily you don't have to be connected as you can do a force close by publishing your channel state to ...
user avatar
3 votes
Accepted

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

I think the problem is that you are trying to pass the file name as an argument instead of the content of the file. Try passing the json through the standard input instead: cat routes.json | lncli --...
user avatar
3 votes
Accepted

Same entity controlling separated parts of a a lightning path

The preimage R is the same throughout the entire route, so Bob/Dave would know what R is (from lnd Overview). However if Bob were to broadcast his commitment transaction for the Bob -> Carol ...
user avatar
  • 60.5k
3 votes

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

Transactions in a payment channel are still real Bitcoin transactions. They require the cooperation of both parties in the channel, so there is no bank and no central party that can rewrite history or ...
user avatar
  • 60.5k
3 votes

How the disposable private keys are being shared in Lightning Network?

So the question is if it would be unfair to Alice if: Bob wouldn't reveal his secret information and Bob broadcasts the previous commitment transaction Now, the only case in which Bob would ...
user avatar
3 votes
Accepted

Lightning: why do we need decrementing timelocks in multi-hop payments?

I use the following scenario for both questions: Alice wants to pay 1 BTC to Dave via the route: Alice -> Bob -> Carol -> Dave Why do we need timelocks? Lets assume that the payment route has just ...
user avatar
2 votes
Accepted

Duplex micropayment channels: criticisms of Lightning and implementation

As of today, (November 2018): To what extent are those criticisms of Lightning valid as of November 2017? This is still a case for Lightning. Eltoo was the first to suggest a simpler way of coping ...
user avatar
  • 537
2 votes

BIP Difference between final and active

"Active" is used for Process BIPs, it is not used for Standards Track or Informational BIPs, which use "Final". A quote from BIP 2: "A process BIP may change status from Draft to Active when it ...
user avatar
  • 11.3k
2 votes
Accepted

Implementing an "ad-hoc-like network of payment channels" on top of Bitcoin network?

This is absolutely possible. The negotiation between the payment-channel participants can happen over the ad-hoc network. However, each participant must still run a fully validating node at all times ...
user avatar
  • 2,423
2 votes
Accepted

off-chain payment channels: Do we need to trust "Payment Service Providers"?

In lightning network payments are onion routed. The only thing a PSV could reveal is the previous and next hop, but they can not know the origin or the destination. They know it came from Alice, and ...
user avatar
2 votes
Accepted

What is the cost of resolving a Lightning channel breach?

The cost is proportional to the number of committed HTLCs on the channel at the time of closure. Each HTLC has an output in the commitment transaction which pays into either a HTLC-success transaction ...
user avatar
  • 3,190
2 votes

Does Lightning Network has concept of continuous stream of value?

Streaming payments is not part of the lightning network protocol yet. However you can build a lightning app that simulates exactly this. There was a demo by alekos Filini on lädt years lightning ...
user avatar
2 votes

settling timelocked contracts based on amount of time elapsed in Lightning network

Such a functionality is currently not implemented and as far as I understand not intended. You can look at Discreet Log Contracts which where intended to solve CFD (Call for difference) contracts for ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible