I cant seem to properly restart CLN with the extra line –min_emergency_msat=0 or –min-emergency-msat=546000 (dust limit).
How do I properly restart CLN with this extra line?
The second problem is UTXO B, it has been over 2 months and it is still unconfirmed. If I look it up in the mempool, it isnt there.
Also in RTL there are 15 channels awaiting unilateral close, but it has been 2 months.
I have tried everything, resynched the blockchain, reinstalled CLN, but it just stays unconfirmed.
CLN’s min-emergency-msat reserve (default 25,000 sats) is enforced only when you have anchor channels that may need on-chain fee bumps. The withdraw command will refuse to spend amounts below that “if we have any anchor channels.”
In your case RTL shows “15 channels awaiting unilateral close” — CLN considers those 15 force-closes in flight and is keeping the 25k to fee-bump their anchor outputs. Forcing a withdrawal can let you take that one UTXO, but it won’t touch the funds locked in the 15 channels (which are likely much more valuable). Once those 15 closes finish, the reserve is released and you won’t need the config workaround.
You’ll have to close all your channels before you can access any onchain funds, you should try closing them again. For 15 cooperative channels to not close, either you’re not connected to the internet, or you’ve not got that latest information from Bitcoin or CLNs graph.
The only thing is that the 15 channels were openend by CLBoss, never properly openend but were all still stuck pending for a long time, so I forced closed them. But there are now stuck in awaiting unilateral close for a while (longer than expected >2 months). I’m properly connected to the internet, blockchain is synced, have reinstalled CLN and performed a rescan.
In CLN it just shows the 25k sats, but in RTL it shows this, with disconnected peers, even though I am connected to other peers.
I’m kind of confused about whether you have open channels or not. If you have open channels then you can’t and should not be moving any onchain funds anywhere and CLN is completely right to stop you from doing so.
I would assume these channels you have open and never closed are very small, otherwise you’d notice the missing funds onchain, right? I assume you also don’t want to lose those funds.
I think your first steps should be:
lightning-cli listpeerchannels (or listfunds) and note each channel’s state and its funding txid:output.
Look up each funding txid on mempool.space and check whether that funding output has been spent or not
If you’re convinced that everything you had is currently on chain and it’s CLN that’s wrong, we can instead look at prying CLN’s sticky hands off the UTXOs