3

I'm trying to better understand the Lightning Network. I was reading this article -- https://medium.com/coinmonks/lightning-network-how-does-it-work-ceeeda8ad21e . My question is, when two parties create a channel and one or both commit funds to that channel, is the committing of those funds an actual transaction on the Bitcoin network? That is, can the two parties involved only start using the channel when that transaction has been settled on the Bitcoin network?

4

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 whomever chooses to fund the channel. When this funding tx receives sufficient confirmation, the channel is considered open.

This multisig output is spent by two commitment transactions signed by both payment channel peers, but not broadcast. Each peer stores its own commitment transaction and only broadcasts it if it decides to unilaterally close the channel.

  • Thanks for this clarification. So this might be really obvious, but in as far as the broadcasted transaction funds the channel and Bitcoin transactions usually take an hour to be confirmed, I assume that means folks can't start using the channel until that confirmation occurs an hour later? – Dave Dec 14 '18 at 19:42
  • Pretty much yeah, 6 confirmations or so ... – James C. Dec 14 '18 at 19:45
  • Here’s a link to a question has a lot of related info about pending channels, the number of confirmations required before using the channel is a configurable option: bitcoin.stackexchange.com/q/79580/63872 – chytrik Dec 14 '18 at 20:43

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.