lnd: Restoring a 10h old data, caused channels in indefinite stateis recovery possible? Version 0.5.2

Background

Like issue #2578, but @halseth stated:

The next version of LND will make sure this cannot be done for channels that have had their state lost.

More a general question than a bug, and this is an exceptional circumstance.

Your environment

  • version of lnd lnd version 0.5.2-beta commit=v0.5.2-beta
  • which operating system (uname -a on *Nix) Linux 4.19.5 #24 SMP PREEMPT Mon Feb 18 05:24:26 UTC 2019 aarch64 GNU/Linux
  • version of bitcoind Bitcoin Core Daemon version v0.17.1

Steps to reproduce

Because of a crash a I had to restore a backup from 10 hours earlier. No tx were done during this period. However six channel close channel transactions were made during the crash causing the channels an indefinite state after restoring the old backup.

Funds lost:

About 1500 euro (0,44945732 BTC)

The following channels are in an indefinite state. (1) Channelpoint: b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211

I can see the transaction Funds are moved into this unspend address

This is my address! But because of the restore of the old backup my node is not able to see this. How can I fix this?

Other channels in an indefinite state are: (2) Channelpoint: ca59f20c8a371678c4e2abaab4fbc0123e864cb2d39c0391c12afb120174b9b3 (3) Channelpoint: 4be8b1fd780739f20901d6bb0a6f3e17510026efbcf6b62f051463fa32dcb312 (4) Channelpoint: f3665b0c3c07cc0946f0eb37cf40e595f3deaac34c4bd7c6f1f4b1929880db08 (5) Channelpoint: b8e7a58656a00b85280a97a87e7f5455392dedefc7bb3089813d90b971ff9473 (6) Channelpoint: b06ad896e955ab3fd92a870eafdac61ab300226492edcc800be2c27626778211

Again I made this new issue because I read that @halseth stated:

The next version of LND will make sure this cannot be done for channels that have had their state lost. Well, I am using the 0.5.2 version of the lnd daemon, which is the next version…

So is there a change that after a while my pending waiting_close_channels channels in the indefinite state will be processed at a certain time?

Or are in my case the funds lost forever?

Thanks in advance

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Closing for now since we’ve received no updates, and it appears to have been fixed by the recent PR I linked above (is part of 0.6).

lnd version 0.6.0-beta commit=v0.6-beta-rc4, which included fix #2766 did indeed solve the issue

Closing for now since we’ve received no updates, and it appears to have been fixed by the recent PR I linked above (is part of 0.6).