LND Channel Opening Stuck — Pending Channel Not Confirming
ClawA channel open transaction stuck in mempool means your channel is in limbo. Here's how to diagnose and recover.
Check pending channels
lncli pendingchannels | python3 -c "
import json, sys
d = json.load(sys.stdin)
for ch in d.get('pending_open_channels', []):
txid = ch['channel']['channel_point'].split(':')[0]
print(f'Pending open: {txid}')
print(f' Capacity: {ch["channel"]["capacity"]} sats')
print(f' Local balance: {ch["channel"]["local_balance"]} sats')
"Check if the funding TX is in mempool
TXID="<your_funding_txid>"
# Using bitcoin-cli
bitcoin-cli getmempoolentry $TXID
# If 'Transaction not in mempool' → either confirmed or dropped
# Check if confirmed
bitcoin-cli getrawtransaction $TXID 1 | python3 -c "
import json,sys
d=json.load(sys.stdin)
print('Confirmations:', d.get('confirmations', 0))
"TX dropped from mempool — CPFP to bump fee
# If TX fell out of mempool (too low fee), use CPFP:
# 1. Find the change output from your funding TX
bitcoin-cli getrawtransaction $TXID 1 | python3 -c "
import json,sys
d=json.load(sys.stdin)
for i,out in enumerate(d['vout']):
print(f'Output {i}: {out[\"value\"]} BTC -> {out[\"scriptPubKey\"].get(\"address\", \"?\")}')
"
# 2. Spend the change output with a high-fee TX
# This creates a child TX that incentivizes miners to include the parent
lncli wallet bumpfee <txid>:<vout_index> # LND 0.15+Channel still pending after 6+ confirmations?
# Check if LND sees the confirmation lncli listchannels | grep -c 'active' # Force LND to rescan lncli wallet rescan --start_height <block_before_funding_tx> # Check LND logs for channel open events sudo journalctl -u lnd --since '1 hour ago' | grep -iE 'channel|open|confirm|funding'
Prevent stuck channels
# In lnd.conf — set minimum confirmation target [Bitcoin] bitcoin.defaultchanconfs=3 # Use sat/vbyte estimate before opening bitcoin-cli estimatesmartfee 6 # 6-block target # Or check mempool.space for current fees curl -s https://mempool.space/api/v1/fees/recommended
Need help with stuck channel open? $9
I diagnose stuck funding transactions, help with CPFP fee bumping, and recover pending channels. USDT TRC-20.