<p>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 yet confirmed. How long it takes the transaction to confirm depends on the same factors as any other transaction. </p>

<p>Further, the participants will often wait for a certain number of transaction confirmations before starting to make channel payments. The number of confirmations required is negotiated in the <code>minimum_depth</code> parameter of the <code>accept_channel</code> message. From BOLT 2: </p>

<blockquote>
  <p>The <code>funding_locked</code> message indicates that the funding transaction has reached the <code>minimum_depth</code> asked for in <code>accept_channel</code>. Once both nodes have sent this, the channel enters normal operating mode</p>
</blockquote>

<p>(thanks to @jnewbery for the added info)</p>

CC BY-SA 4.0
2018-11-07T10:08:12.553Z
@selfishminer you should add your edit as a separate answer since it is a complete re-write compared to mine, but I think it is helpful.
chytrik
CC BY-SA 4.0
2018-11-30T02:51:31.510Z
"Once the transaction confirms..." the participants actually wait for a certain number of confirmations before starting to make channel payments. The number of confirmations required is negotiated in the `minimum_depth` parameter of the `accept_channel` message. From BOLT 2: "The `funding_locked` message indicates that the funding transaction has reached the `minimum_depth` asked for in `accept_channel`. Once both nodes have sent this, the channel enters normal operating mode."
jnewbery
CC BY-SA 4.0
2018-11-30T03:04:08.827Z
@jnewbery thanks for the clarification/extra info, I've edited the answer to include it
chytrik
CC BY-SA 4.0
2018-09-25T17:16:03.323Z
2018-11-30T03:02:55.170Z
2018-11-30T03:02:55.170Z
chytrik
<blockquote>
  <p>What is happening when a channel is pending when opened? How long does it usually take?</p>
</blockquote>

<p>A node establishes a channel by sending an <a href="https://github.com/lightningnetwork/lightning-rfc/blob/1ddc1a54d704185364eec6f4fa7c13a39abe3005/02-peer-protocol.md#the-open_channel-message" rel="nofollow noreferrer">open_channel</a> message to its desired peer. This message specifies the parameters under which the channel will operate (e.g. the number of bitcoin the channel will be funded with and the cost to route payments through the channel). The channel counterparty must reply with the <a href="https://github.com/lightningnetwork/lightning-rfc/blob/1ddc1a54d704185364eec6f4fa7c13a39abe3005/02-peer-protocol.md#the-accept_channel-message" rel="nofollow noreferrer">accept channel</a> message, one parameter of which is <code>minimum_depth</code>, wherein the number of confirmations the funding transaction must have (before the channel can be used) is specified. This protects channel participants from losing money in the event the funding transaction is double spent.</p>

<blockquote>
  <p>To open a channel with a node you're already connected to you don't need to get consensus from all the other connected nodes (as you would if you were sending a transaction on chain) so why the wait?</p>
</blockquote>

<p>Establishing a network connection with a node is only one step in the process of establishing a lightning channel. The funds must first be secured in a multisignature output (2-of-2, with one key from each channel participant). Moving the funds to a multisignature output can only be done with an on-chain transaction. Without this step there is no way to restrict one party from stealing the funds outright. Once the funds have been moved to such an output, channel participants can make lightning transactions. </p>

CC BY-SA 4.0
2018-11-22T00:40:14.910Z
2018-11-30T05:11:12.307Z
2018-11-30T05:11:12.307Z
selfishminer
<p>What is happening when a channel is pending when opened? How long does it usually take? To open a channel with a node you're already connected to you don't need to get consensus from all the other connected nodes (as you would if you were sending a transaction on chain) so why the wait? </p>

<lightning-network><ln-opening-channels><channels>
What is happening when a channel is pending?
arshbot
# What is happening when a channel is pending?

(Asked by: username_0 on 2018-09-25)

What is happening when a channel is pending when opened? How long does it usually take? To open a channel with a node you're already connected to you don't need to get consensus from all the other connected nodes (as you would if you were sending a transaction on chain) so why the wait?

**Tags:** lightning-network, ln-opening-channels, channels


---

## 2 answers

### Answer by username_1 on 2018-09-25. Score: 1 | Accepted answer

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 yet confirmed. How long it takes the transaction to confirm depends on the same factors as any other transaction.

Further, the participants will often wait for a certain number of transaction confirmations before starting to make channel payments. The number of confirmations required is negotiated in the `minimum_depth` parameter of the `accept_channel` message. From BOLT 2:

> The `funding_locked` message indicates that the funding transaction has reached the `minimum_depth` asked for in `accept_channel`. Once both nodes have sent this, the channel enters normal operating mode

(thanks to @username_2 for the added info)

> **Comments:**
> **username_1**: @username_3 you should add your edit as a separate answer since it is a complete re-write compared to mine, but I think it is helpful.  
> **username_2**: "Once the transaction confirms..." the participants actually wait for a certain number of confirmations before starting to make channel payments. The number of confirmations required is negotiated in the `minimum_depth` parameter of the `accept_channel` message. From BOLT 2: "The `funding_locked` message indicates that the funding transaction has reached the `minimum_depth` asked for in `accept_channel`. Once both nodes have sent this, the channel enters normal operating mode."  
> **username_1**: @username_2 thanks for the clarification/extra info, I've edited the answer to include it  

---

### Answer by username_3 on 2018-11-22. Score: 1

> 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](https://github.com/lightningnetwork/lightning-rfc/blob/1ddc1a54d704185364eec6f4fa7c13a39abe3005/02-peer-protocol.md#the-open_channel-message) message to its desired peer. This message specifies the parameters under which the channel will operate (e.g. the number of bitcoin the channel will be funded with and the cost to route payments through the channel). The channel counterparty must reply with the [accept channel](https://github.com/lightningnetwork/lightning-rfc/blob/1ddc1a54d704185364eec6f4fa7c13a39abe3005/02-peer-protocol.md#the-accept_channel-message) message, one parameter of which is `minimum_depth`, wherein the number of confirmations the funding transaction must have (before the channel can be used) is specified. This protects channel participants from losing money in the event the funding transaction is double spent.

> To open a channel with a node you're already connected to you don't need to get consensus from all the other connected nodes (as you would if you were sending a transaction on chain) so why the wait?

Establishing a network connection with a node is only one step in the process of establishing a lightning channel. The funds must first be secured in a multisignature output (2-of-2, with one key from each channel participant). Moving the funds to a multisignature output can only be done with an on-chain transaction. Without this step there is no way to restrict one party from stealing the funds outright. Once the funds have been moved to such an output, channel participants can make lightning transactions.


---

