3

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 balance of the channel will be spent and then the channel will be closed with a confirmation transaction. Why doesn't the Lightning Network support additional funding transactions within this existing channel so that A and B can continue use this channel for transactions?

  • Not sure what you mean by "when A translate some time with B, the balance of A is will be spend all" - can you explain? I assume though when you say translate you mean transact, but it still doesn't make much sense. – Highly Irregular Nov 25 '17 at 6:19
  • I think the question is clear in the title, related: bitcoin.stackexchange.com/questions/57897/… – MeshCollider Nov 27 '17 at 5:05
2

Any additional funding transactions would not be covered by older commitment transactions which can result in the loss of funds. Older commitment transactions will not contain inputs that spend from the new funding transaction. The funds sent in the second funding transaction require B to sign a spending transaction, and if B refuses, then A has no way to get those funds back should an older commitment transaction be broadcast.

0

The total capacity of a channel cannot be increased since the funds are held in a single UTXO (unspent transaction output). What can be done, however, is to rebalance the channel from within the Lightning Network itself, so A can use it again.

Let's assume the balance of the channel is now 0 BTC for A and 2 BTC for B, so A cannot send payments through the channel anymore. That makes A want to fund the channel so he can spend more.

A can do this by asking a payment to be sent to him through LN that will effectively re-balance the channel to (say) 1 BTC for A and 1 BTC for B. This funding payment needs to originate from another Lightning node, for instance a Lightning-enabled exchange where A pays fiat (or other crypto) and gets 1 BTC sent to his Lightning node.

  • This answer could be more helpful if it would address the main question of the asker, which is why it's impossible to increase the capacity of a channel. – Murch Apr 20 '18 at 23:13
  • @onysseus - "The total capacity of a channel cannot be increased since the funds are held in a single UTXO" - For the UTXO, are both the Source and Target address on the Main Blockchain? Where is the UTXO stored? In a Wallet? Also, does this mean that when A opens a channel to B, A has to make sure it a high amount (ex: 5 BTC) just so that he/she will ~have the capability~ to "refill" the channel to this level (5BTC and not 1BTC)? – Casey Harrils Apr 24 '18 at 16:22
0

There is a way to increase the capacity of the payment channel. Dynamic Channel Deposit and Withdraw for Lightning Networks The FundCasc Splice-in

If A want to add 0.5 BTC to the channel, he can propose to create a new funding transaction which spent the old funding and another UTXO from A. The new Funding transaction can be created by following steps.

  1. Creating a new Funding Transaction
  2. Creating a pair of new Commitment Transactions (C2a and C2b), containing the corresponding RD2a and RD2b
  3. Signing the new Commitment Transactions
  4. Exchanging signatures for new Commitment Transactions
  5. Signing a new Funding Transaction
  6. Exchanging signatures for the new Funding Transaction
  7. Broadcasting the new Funding Transaction

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.