Bitcoin Forum

Other => Beginners & Help => Topic started by: G1lius on February 16, 2021, 02:09:03 PM



Title: Lightning channel recovery
Post by: G1lius on February 16, 2021, 02:09:03 PM
I think my funds might be lost, but I'll ask anyway.

I had to recover my node on new hardware using the seed and channel.backup, most channels closed except for one, but the peer is always offline, so probably gone.

Now it's waiting to close, however there doesn't seem to be a closing transaction.

Code:
lncli pendingchannels
{
    "total_limbo_balance": "0",
    "pending_open_channels": [
    ],
    "pending_closing_channels": [
    ],
    "pending_force_closing_channels": [
    ],
    "waiting_close_channels": [
        {
            "channel": {
                "remote_node_pub": "028df6000ced1a2c46d51c459454285e74868c0f5482e810f338c7d5cecc160a25",
                "channel_point": "a8f1df3cd9348e9ed904f99832f9f08ec1c77a9bd073ae0c84873b7d42256f6a:0",
                "capacity": "1000000",
                "local_balance": "0",
                "remote_balance": "0",
                "local_chan_reserve_sat": "0",
                "remote_chan_reserve_sat": "0",
                "initiator": "INITIATOR_LOCAL",
                "commitment_type": "STATIC_REMOTE_KEY"
            },
            "limbo_balance": "0",
            "commitments": {
                "local_txid": "",
                "remote_txid": "",
                "remote_pending_txid": "",
                "local_commit_fee_sat": "0",
                "remote_commit_fee_sat": "0",
                "remote_pending_commit_fee_sat": "0"
            }
        }
    ]
}

I can't "re-close" the channel

Code:
lncli closeallchannels --force
[lncli] no open channels to close

not sure what to make of this:

Code:
lncli closechannel --force a8f1df3cd9348e9ed904f99832f9f08ec1c77a9bd073ae0c84873b7d42256f6a 0
[lncli] rpc error: code = Unknown desc = cannot close channel with state: ChanStatusRestored


Title: Re: Lightning channel recovery
Post by: Rath_ on February 16, 2021, 02:34:57 PM
Static Channel Backups work only if the other peer is online. Such backups store only data required to re-establish the connection and initiate data loss protection (https://medium.com/@ACINQ/adding-data-loss-protection-to-eclair-598c62494096). Unless you somehow manage to recover your old wallet.db or the other peer comes back online, there is nothing you can do to recover those coins.