Bitcoin Forum
May 26, 2024, 05:35:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lightning channel recovery  (Read 62 times)
G1lius (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 4


View Profile
February 16, 2021, 02:09:03 PM
Merited by DdmrDdmr (2), Rath_ (2)
 #1

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
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
February 16, 2021, 02:34:57 PM
Merited by DdmrDdmr (1)
 #2

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. 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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!