11 votes
Accepted

What criteria should be taken into account when selecting nodes to create new lightning channels with?

I agree with Alex Bosworth and I have pointed this out about one year ago when I have filed an issue about the strategy used by the LND autopilot which basically looks for nodes with a high channel ...
user avatar
5 votes
Accepted

Is it possible to splice a new participant into a LN channel factory?

You are correct. It is not possible to get Diana into the Channel Factory without a transaction that closes and reopens with Diana. Splicing-in and splicing-out as explained by Decker et al. in the ...
user avatar
  • 537
4 votes

When opening a LN channel using LND, what does 'push-amt' do?

The money now belongs to the counterparty in the channel you opened. In every one of your channels, whether you opened them or they were opened to you, "local balance" refers to your spendable/...
user avatar
4 votes
Accepted

To create a channel on the Lightning Network, do you have to execute an actual transaction?

Yes, a channel opening involves creating and signing 3 transactions, and broadcasting just one. The transaction to be broadcast funds the channel, and spends to a multisig output. It is signed by ...
user avatar
  • 2,423
4 votes
Accepted

how are lightning network payments instant and secure at the same time?

This is a very good question and I will give a quick summary of what is happening here. The longer version can be seen on my educational video on how to create payment channels starting at 33:41 (...
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

Limits on lightning channels and payments

Stuff like this can usually be found in the lightning-rfc aka BOLT (basics of lightning technologies) which is the formal protocol specification. Currently channel capacity can't succeed 1/6 of a ...
user avatar
3 votes
Accepted

Distinguishing Lightning channels on-chain

A lightning funding transaction is a P2WSH transaction, which appears on chain as paying to some random-looking script hash, but the redeemScript which can unlock and spend the money is not revealed ...
user avatar
  • 3,190
3 votes
Accepted

Is it possible to watch the chain to count the number of Lightning channels?

They can only be detected when force closed and there are still pending htlcs otherwise they look like a spend from a 2-2 multisig wallet. I've been told some people try to do chain analysis and ...
user avatar
3 votes
Accepted

Can Initial Channel Balances be figured out from the Funding Transaction?

A funding transaction is one where some money is paid into a P2WSH transaction output, where the redeeemScript is a 2-of-2 multisig between the two participants. No other information is provided. ...
user avatar
  • 3,190
3 votes
Accepted

Lightning network: Open a channel with a peer that is not a full node?

Whether you run a full node or a lightweight node is a first layer question. It is a question about how you keep track about what happens on the blockchain. And even though this is important for you, ...
user avatar
3 votes
Accepted

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

Are these two problems effectively solved with segregated witness? One is; one is not. Specifically: (1) The anchor transation id required for the commitment input will only be known once the ...
user avatar
3 votes

How much Bitcoin is needed to start a Lightning node?

When you start using lightning, the minimum bitcoin you need is the cost of opening the channel + anything else you want in the channel. The cost of opening the channel is equal to the fees you pay ...
user avatar
  • 71
3 votes

How to create bidirectional channels using LND?

It is bidirectional by default. In fact LND does not even allow for single-directional channels. What you're experiencing though, is the drawback of having created a single-funded channel. That means,...
user avatar
2 votes
Accepted

Opening Lightning network channel: who is paying?

Because a fee is part of a transaction, the fee must be paid by whichever party creates the funding transaction. Don't think of it as paying a fee to open a channel, think of it as funding a channel ...
user avatar
  • 8,724
2 votes
Accepted

Possible to create 5+0$ founding transaction in Ligthning Network?

The current protocol implementations only allow one party to fund a channel. If only one party funds the channel, then the first payments can only be sent from the funding party to the counterparty. ...
user avatar
  • 17.2k
2 votes
Accepted

Clarification of lightning network example (putting funds into lightning)

So in the first step you make a regular transaction from your address A to our common 2-2 address C, and I make a regular transaction from my address B to our common 2-2 address C? Yes, although in ...
user avatar
  • 60.4k
2 votes

How do Lightning channels interact with the blockchain?

Does opening a channel mean that a 2-to-2 multisig address (3xxxx) is created? Yes. But it's not always a 3... address. Such addresses must be segwit, and there are two types: nested (3... address) ...
user avatar
  • 60.4k
2 votes

how are lightning network payments instant and secure at the same time?

The "instant" payment of Lightning is only possible for already-established Lightning channels. New channels are subject to confirmation times like any other bitcoin transaction. When a channel is ...
user avatar
  • 3,190
2 votes
Accepted

Would restricting channels to a maximum make LN more decentralized?

Short answer: Such rule would not change anything people could split their funds across several nodes similar to LNBIG.
user avatar
2 votes
Accepted

What happens if channel opening transactions get stuck?

If we look at BOLT 02 funding_locked we can see that we have to differentiate between two cases. the fuding party "MUST wait until the funding transaction has reached minimum_depth before ...
user avatar
1 vote
Accepted

How do I prevent lnd from participating in new channels?

You can set the option --maxpendingchannels=0 to disallow peers to open channels to your node.
user avatar
  • 218
1 vote

How to find out if LND opening pending channels has a confirmation onchain?

lncli pendingchannels gives a pendingChannelRespnse which might have the pending_open_channels parameter. This contains an array of PendingOpenChannel objects. According to the documentation they ...
user avatar
1 vote
Accepted

Lightning, multiple channels to the same node

Not all implementations support multiple channels between two nodes. That is why I would advise against that practice. Also I do not really see an advantage of having two channels. We don't have ...
user avatar
1 vote

What criteria should be taken into account when selecting nodes to create new lightning channels with?

Here there are some properties: Node reliability: On-line connected 24/7. History: when the node came online for first time. Routing: How many channels has the node. Capacity: How much capacity can ...
user avatar
1 vote

How is the recipient address for closing a Lightning Channel derived?

I will only give the answer for a mutual close. The situation for unilateral (forced) channel close should be similar only that you have too look in the commitment transactions and that you have to ...
user avatar
1 vote

How can I open channels with Eclair?

It seems you're having technical issues with the app. I would recommend to bring this issue to the devs on their forum: https://gitter.im/ACINQ/eclair. Also, please prepare to have all info such as ...
user avatar
  • 21
1 vote

What is happening when a channel is pending?

What is happening when a channel is pending when opened? How long does it usually take? A node establishes a channel by sending an open_channel message to its desired peer. This message specifies the ...
user avatar
1 vote
Accepted

What is happening when a channel is pending?

Opening a channel involves sending an on-chain transaction (with a multisig output controlled by the channel’s participants), so when the channel is ‘pending’ it simply means this transaction is not ...
user avatar
  • 17.2k

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