lnd icon indicating copy to clipboard operation
lnd copied to clipboard

AbandonChannel RPC call only available in dev builds

Open MykelSIlver opened this issue 5 years ago • 40 comments

Background

I have a forever pending openchannel in my pending_open_channels. It keeps pending for whatever reason and needs to be closed. With AbandonChannel this could be easily be resolved

Your environment

  • version of lnd 0.12.1-beta commit=v0.12.1-beta

  • which operating system (uname -a on *Nix) Linux umbrel 5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux

  • any other relevant environment details n/a

Steps to reproduce

Try lncli abandonchannel on any pending_open_channels

Expected behaviour

The forever pending openchannel in my pending_open_channels. should be abandoned and funds should be returned to the walled if applicable.

Actual behaviour

Nothing happens. In the lnd log the following message appears: [ERR] RPCS: [/lnrpc.Lightning/AbandonChannel]: AbandonChannel RPC call only available in dev builds

MykelSIlver avatar Mar 24 '21 08:03 MykelSIlver

This is a safety feature. Abandoning a working or pending channel will mean you forfeit all your money. So it's just too dangerous to allow this command on normal release builds. It's a feature, not a bug.

guggero avatar Mar 24 '21 08:03 guggero

Thanks for clarification. Is there any other solution for my situation?

Below is a channel pending for a very long time. Any hint on how to cancel this pending situation would be appreciated?

 "pending_open_channels": [
        {
            "channel": {
                "remote_node_pub": "03da16040a7b89936d68cc31f5dd1384eb15c3661ab346c8a0b30310b9008f3310",
                "channel_point": "0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3",
                "capacity": "500000",
                "local_balance": "472882",
                "remote_balance": "0",
                "local_chan_reserve_sat": "5000",
                "remote_chan_reserve_sat": "5000",
                "initiator": "INITIATOR_LOCAL",
                "commitment_type": "STATIC_REMOTE_KEY"
            },
            "confirmation_height": 0,
            "commit_fee": "27118",
            "commit_weight": "600",
            "fee_per_kw": "37456"
        }

MykelSIlver avatar Mar 24 '21 08:03 MykelSIlver

Hmm, I see you're on Umbrel. So it's probably not very easy for you to compile and run lnd yourself... An alternative is shutting down lnd and using chantools removechannel on the database directly. Maybe we should just add more warnings to the command but enable it in general. This is happening more often with current fee rates.

guggero avatar Mar 24 '21 08:03 guggero

For my understanding: The funds are now safe, they can only not be used, right ? And with chantools removechannel this can be claimed? Sorry for asking so many questions.

MykelSIlver avatar Mar 24 '21 09:03 MykelSIlver

Well, technically the funds are in limbo. Because the transaction could still be confirmed. Then you would need to force close the channel again since the other peer probably gave up on the channel after two weeks. With removechannel you tell lnd to not try to re-publish the transaction and forget the channel. But for the funds to be safe, you actually should spend the UTXO that was going into the channel to a new address of yourself so the funding transaction is properly invalidated and doesn't confirm by accident.

guggero avatar Mar 24 '21 09:03 guggero

solved it with:

/home/umbrel/umbrel/bin/lncli closechannel --funding_txid "0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8" --output_index 3 --force
{
        "closing_txid": "f21001e3d163b348261dd840a36c232551606a794b4c4b57a09b2d2647a1fbf1"
}

I never expected you can do a closechannel on a stuck pending_open. I needed to add the --force to accomplish the job. Thank you very much for your time and explanation.

MykelSIlver avatar Mar 24 '21 09:03 MykelSIlver

Unfortunately this issue is not solved yet.

I have noticed that after command the lncli closechannel --funding_txid "0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8" --output_index 3 --force the action appears in the waiting_close_channels section (not in the force_close section)

 "waiting_close_channels": [
        {
            "channel": {
                "remote_node_pub": "03da16040a7b89936d68cc31f5dd1384eb15c3661ab346c8a0b30310b9008f3310",
                "channel_point": "0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3",
                "capacity": "500000",
                "local_balance": "472882",
                "remote_balance": "0",
                "local_chan_reserve_sat": "5000",
                "remote_chan_reserve_sat": "5000",
                "initiator": "INITIATOR_LOCAL",
                "commitment_type": "STATIC_REMOTE_KEY"
            },
            "limbo_balance": "472882",
            "commitments": {
                "local_txid": "f21001e3d163b348261dd840a36c232551606a794b4c4b57a09b2d2647a1fbf1",
                "remote_txid": "70721a9072db8c40e01dc43b2f5b690017d4375796f89f158f1d4ecbbd2a3391",
                "remote_pending_txid": "",
                "local_commit_fee_sat": "27118",
                "remote_commit_fee_sat": "27118",
                "remote_pending_commit_fee_sat": "0"
            }
        }

After waiting for many confirmations I unfortunately noticed the waiting_close did not resolved itself.

I decided to restart my (Umbrel) lightning node and studied the log. For convenience I have placed a snip of the lnd log here below:

Mar 24 11:22:37 umbrel lnd[714]: 2021-03-24 11:22:37.075 [INF] LTND: Version: 0.12.1-beta commit=v0.12.1-beta, build=production, logging=default, debuglevel=info

..
Mar 24 11:37:53 umbrel lnd[714]: 2021-03-24 11:37:53.808 [INF] NTFN: New block epoch subscription
Mar 24 11:37:53 umbrel lnd[714]: 2021-03-24 11:37:53.866 [INF] LNWL: Inserting unconfirmed transaction 1de85c04d279fb4377129f1e3107dfe67021ba0c01d2c4c293ca350cb8e87903
Mar 24 11:37:53 umbrel lnd[714]: 2021-03-24 11:37:53.868 [ERR] LNWL: Notifying unmined tx notification (1de85c04d279fb4377129f1e3107dfe67021ba0c01d2c4c293ca350cb8e87903) while creating notification for blocks
Mar 24 11:37:54 umbrel lnd[714]: 2021-03-24 11:37:54.503 [INF] LNWL: Removed invalid transaction: (*wire.MsgTx)(0x4001177c40)({
Mar 24 11:37:54 umbrel lnd[714]:  Version: (int32) 2,
Mar 24 11:37:54 umbrel lnd[714]:  TxIn: ([]*wire.TxIn) (len=1 cap=1) {
Mar 24 11:37:54 umbrel lnd[714]:   (*wire.TxIn)(0x4000e4ed80)({
Mar 24 11:37:54 umbrel lnd[714]:    PreviousOutPoint: (wire.OutPoint) a0c9474ce70b75b9c6c8787e8e07952da426ea588bd210c8ea819f926a111fbb:0,
Mar 24 11:37:54 umbrel lnd[714]:    SignatureScript: ([]uint8) {
Mar 24 11:37:54 umbrel lnd[714]:    },
Mar 24 11:37:54 umbrel lnd[714]:    Witness: (wire.TxWitness) (len=2 cap=2) {
Mar 24 11:37:54 umbrel lnd[714]:     ([]uint8) (len=72 cap=72) {
Mar 24 11:37:54 umbrel lnd[714]:      00000000  30 45 02 21 00 87 0c 8b  f1 24 88 15 24 ca 2b cf  |0E.!.....$..$.+.|
Mar 24 11:37:54 umbrel lnd[714]:      00000010  51 f6 96 aa a9 32 e6 cd  e5 e2 40 45 12 25 76 6b  |Q....2....@E.%vk|
Mar 24 11:37:54 umbrel lnd[714]:      00000020  0a 11 bd d1 a7 02 20 71  26 b9 9d b7 63 c9 bb f3  |...... q&...c...|
Mar 24 11:37:54 umbrel lnd[714]:      00000030  df ea 99 41 b8 95 3c 94  46 58 43 3e e4 7b f0 dd  |...A..<.FXC>.{..|
Mar 24 11:37:54 umbrel lnd[714]:      00000040  75 12 06 a2 21 75 5b 01                           |u...!u[.|
Mar 24 11:37:54 umbrel lnd[714]:     },
Mar 24 11:37:54 umbrel lnd[714]:     ([]uint8) (len=33 cap=33) {
Mar 24 11:37:54 umbrel lnd[714]:      00000000  02 46 4b 03 d8 9a df 30  2a 53 33 fd 54 f3 36 4b  |.FK....0*S3.T.6K|
Mar 24 11:37:54 umbrel lnd[714]:      00000010  53 72 7c e1 f4 a0 4e ca  16 ba c5 68 cb d3 46 3a  |Sr|...N....h..F:|
Mar 24 11:37:54 umbrel lnd[714]:      00000020  7c                                                |||
Mar 24 11:37:54 umbrel lnd[714]:     }
Mar 24 11:37:54 umbrel lnd[714]:    },
Mar 24 11:37:54 umbrel lnd[714]:    Sequence: (uint32) 0
Mar 24 11:37:54 umbrel lnd[714]:   })
Mar 24 11:37:54 umbrel lnd[714]:  },
Mar 24 11:37:54 umbrel lnd[714]:  TxOut: ([]*wire.TxOut) (len=1 cap=1) {
Mar 24 11:37:54 umbrel lnd[714]:   (*wire.TxOut)(0x4000cda200)({
Mar 24 11:37:54 umbrel lnd[714]:    Value: (int64) 181086,
Mar 24 11:37:54 umbrel lnd[714]:    PkScript: ([]uint8) (len=22 cap=22) {
Mar 24 11:37:54 umbrel lnd[714]:     00000000  00 14 10 78 e5 b5 55 5d  aa 2c 67 b3 88 b6 9c 20  |...x..U].,g.... |
Mar 24 11:37:54 umbrel lnd[714]:     00000010  ed 46 18 e2 ca cd                                 |.F....|
Mar 24 11:37:54 umbrel lnd[714]:    }
Mar 24 11:37:54 umbrel lnd[714]:   })
Mar 24 11:37:54 umbrel lnd[714]:  },
Mar 24 11:37:54 umbrel lnd[714]:  LockTime: (uint32) 675920
Mar 24 11:37:54 umbrel lnd[714]: })
Mar 24 11:37:54 umbrel lnd[714]: 
Mar 24 11:37:54 umbrel lnd[714]: 2021-03-24 11:37:54.504 [INF] NTFN: New block epoch subscription
Mar 24 11:37:55 umbrel lnd[714]: 2021-03-24 11:37:55.030 [INF] NTFN: New block epoch subscription
Mar 24 11:37:55 umbrel lnd[714]: 2021-03-24 11:37:55.084 [INF] CNCT: Creating ChannelArbitrators for 29 active channels
Mar 24 11:37:55 umbrel lnd[714]: 2021-03-24 11:37:55.086 [INF] CNCT: Re-publishing force close tx(f21001e3d163b348261dd840a36c232551606a794b4c4b57a09b2d2647a1fbf1) for channel 0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3
Mar 24 11:37:55 umbrel lnd[714]: 2021-03-24 11:37:55.086 [INF] LNWL: Inserting unconfirmed transaction f21001e3d163b348261dd840a36c232551606a794b4c4b57a09b2d2647a1fbf1
Mar 24 11:37:55 umbrel lnd[714]: 2021-03-24 11:37:55.086 [ERR] LNWL: Notifying unmined tx notification (f21001e3d163b348261dd840a36c232551606a794b4c4b57a09b2d2647a1fbf1) while creating notification for blocks
Mar 24 11:38:01 umbrel lnd[714]: 2021-03-24 11:38:01.550 [INF] LNWL: Removed invalid transaction: (*wire.MsgTx)(0x4000fe8d40)({
Mar 24 11:38:01 umbrel lnd[714]:  Version: (int32) 2,
Mar 24 11:38:01 umbrel lnd[714]:  TxIn: ([]*wire.TxIn) (len=1 cap=1) {
Mar 24 11:38:01 umbrel lnd[714]:   (*wire.TxIn)(0x40005757a0)({
Mar 24 11:38:01 umbrel lnd[714]:    PreviousOutPoint: (wire.OutPoint) 0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3,
Mar 24 11:38:01 umbrel lnd[714]:    SignatureScript: ([]uint8) {
Mar 24 11:38:01 umbrel lnd[714]:    },
Mar 24 11:38:01 umbrel lnd[714]:    Witness: (wire.TxWitness) (len=4 cap=4) {
Mar 24 11:38:01 umbrel lnd[714]:     ([]uint8) {
Mar 24 11:38:01 umbrel lnd[714]:     },
Mar 24 11:38:01 umbrel lnd[714]:     ([]uint8) (len=71 cap=71) {
Mar 24 11:38:01 umbrel lnd[714]:      00000000  30 44 02 20 7c 9e b5 5f  e3 0a 32 f4 97 c0 34 db  |0D. |.._..2...4.|
Mar 24 11:38:01 umbrel lnd[714]:      00000010  1b 1e 32 2d 4b 1f eb 18  b6 c9 49 2d 20 a4 14 6b  |..2-K.....I- ..k|
Mar 24 11:38:01 umbrel lnd[714]:      00000020  24 da ef e5 02 20 13 d4  23 fa c9 82 62 62 bc 5d  |$.... ..#...bb.]|
Mar 24 11:38:01 umbrel lnd[714]:      00000030  9b d8 43 ea c6 38 b0 16  bf 47 d9 97 e7 0d e7 3f  |..C..8...G.....?|
Mar 24 11:38:01 umbrel lnd[714]:      00000040  43 32 1e 6d bd 3f 01                              |C2.m.?.|
Mar 24 11:38:01 umbrel lnd[714]:     },
Mar 24 11:38:01 umbrel lnd[714]:     ([]uint8) (len=72 cap=72) {
Mar 24 11:38:01 umbrel lnd[714]:      00000000  30 45 02 21 00 cb a6 cc  96 91 45 fe 17 3c 36 19  |0E.!......E..<6.|
Mar 24 11:38:01 umbrel lnd[714]:      00000010  02 02 1e 5c a1 1e 9c 50  4e f1 b2 ee f0 e0 3c 18  |...\...PN.....<.|
Mar 24 11:38:01 umbrel lnd[714]:      00000020  71 1f 7e 1a d4 02 20 4f  fd 0c 55 96 3d 07 a2 95  |q.~... O..U.=...|
Mar 24 11:38:01 umbrel lnd[714]:      00000030  38 2f d7 65 ab 9b d9 61  5a b1 c2 f3 77 63 2a 44  |8/.e...aZ...wc*D|
Mar 24 11:38:01 umbrel lnd[714]:      00000040  f9 08 ef d6 2d a5 6b 01                           |....-.k.|
Mar 24 11:38:01 umbrel lnd[714]:     },
Mar 24 11:38:01 umbrel lnd[714]:     ([]uint8) (len=71 cap=71) {
Mar 24 11:38:01 umbrel lnd[714]:      00000000  52 21 02 0a 94 d5 91 f9  a4 b3 b7 5c f9 32 2d 8d  |R!.........\.2-.|
Mar 24 11:38:01 umbrel lnd[714]:      00000010  db 19 33 3c e2 90 f0 f5  6a be 57 b5 85 cf 9b f7  |..3<....j.W.....|
Mar 24 11:38:01 umbrel lnd[714]:      00000020  3e 47 d6 21 02 eb 8a b0  dd c3 a6 57 7a d6 86 d8  |>G.!.......Wz...|
Mar 24 11:38:01 umbrel lnd[714]:      00000030  31 7a 1c fa 65 74 06 44  67 07 92 72 a5 18 2d 88  |1z..et.Dg..r..-.|
Mar 24 11:38:01 umbrel lnd[714]:      00000040  fd 6a 69 d8 56 52 ae                              |.ji.VR.|
Mar 24 11:38:01 umbrel lnd[714]:     }
Mar 24 11:38:01 umbrel lnd[714]:    },
Mar 24 11:38:01 umbrel lnd[714]:    Sequence: (uint32) 2164016020
Mar 24 11:38:01 umbrel lnd[714]:   })
Mar 24 11:38:01 umbrel lnd[714]:  },
Mar 24 11:38:01 umbrel lnd[714]:  TxOut: ([]*wire.TxOut) (len=1 cap=1) {
Mar 24 11:38:01 umbrel lnd[714]:   (*wire.TxOut)(0x40025c87c0)({
Mar 24 11:38:01 umbrel lnd[714]:    Value: (int64) 472882,
Mar 24 11:38:01 umbrel lnd[714]:    PkScript: ([]uint8) (len=34 cap=34) {
Mar 24 11:38:01 umbrel lnd[714]:     00000000  00 20 c5 9c 12 98 0b 13  2f 79 8f a8 51 81 eb e8  |. ....../y..Q...|
Mar 24 11:38:01 umbrel lnd[714]:     00000010  d5 b8 25 6d be 88 7e 5f  15 11 c5 dc ea 0c 77 c6  |..%m..~_......w.|
Mar 24 11:38:01 umbrel lnd[714]:     00000020  b0 4a                                             |.J|
Mar 24 11:38:01 umbrel lnd[714]:    }
Mar 24 11:38:01 umbrel lnd[714]:   })
Mar 24 11:38:01 umbrel lnd[714]:  },
Mar 24 11:38:01 umbrel lnd[714]:  LockTime: (uint32) 538103682
Mar 24 11:38:01 umbrel lnd[714]: })
Mar 24 11:38:01 umbrel lnd[714]: 
Mar 24 11:38:01 umbrel lnd[714]: 2021-03-24 11:38:01.575 [INF] CNCT: Creating ChannelArbitrators for 1 closing channels
..
Mar 24 11:38:01 umbrel lnd[714]: 2021-03-24 11:38:01.581 [INF] NTFN: New spend subscription: spend_id=8, outpoint=0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3, script=0 ebd71359038b5a351d5ddb71c26b29ac40a62015ea80329171eabdf5932688bb, height_hint=676088
Mar 24 11:38:01 umbrel lnd[714]: 2021-03-24 11:38:01.581 [INF] NTFN: Dispatching historical spend rescan for outpoint=0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3, script=0 ebd71359038b5a351d5ddb71c26b29ac40a62015ea80329171eabdf5932688bb, start=676088, end=676089
..
Mar 24 11:38:07 umbrel lnd[714]: 2021-03-24 11:38:07.811 [INF] CNCT: Close observer for ChannelPoint(0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3) active
Mar 24 11:38:07 umbrel lnd[714]: 2021-03-24 11:38:07.930 [INF] NTFN: Block disconnected from main chain: height=676090, sha=000000000000000000018bd239babf45b8370e576abb2c7d1ecb343d6f8ae0c7
..
Mar 24 11:38:12 umbrel lnd[714]: 2021-03-24 11:38:12.581 [INF] NTFN: Historical spend dispatch finished for request outpoint=0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3, script=0 ebd71359038b5a351d5ddb71c26b29ac40a62015ea80329171eabdf5932688bb (start=676088 end=676089) with details: <nil>
..
Mar 24 11:38:21 umbrel lnd[714]: 2021-03-24 11:38:21.559 [INF] CNCT: ChannelArbitrator(0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3): starting state=StateCommitmentBroadcasted, trigger=chainTrigger, triggerHeight=676090
Mar 24 11:38:21 umbrel lnd[714]: 2021-03-24 11:38:21.572 [INF] CNCT: ChannelArbitrator(0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8:3): trigger chainTrigger moving from state StateCommitmentBroadcasted to StateCommitmentBroadcasted
..
Mar 24 11:38:25 umbrel lnd[714]: 2021-03-24 11:38:25.867 [INF] NTFN: New confirmation subscription: conf_id=1, txid=0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8, num_confs=2 height_hint=676088
Mar 24 11:38:25 umbrel lnd[714]: 2021-03-24 11:38:25.867 [INF] FNDG: Waiting for funding tx (0f1e34c15d41db8e50f18e0a572b268d92bea89aee1a8720df40c860ce20c0f8) to reach 2 confirmations
Mar 24 11:38:26 umbrel lnd[714]: 2021-03-24 11:38:26.095 [INF] CHFT: Adding 28 channels to event store

My question: Does I have to wait longer (>two weeks) before this transaction become in a force_close state and then finally the transaction will be processed?

MykelSIlver avatar Mar 24 '21 14:03 MykelSIlver

Force closing is not the best thing you could do in your situation, that's why I didn't suggest it. Now you have to wait for 2 transactions to confirm, both of which don't seem to be in the mempool. Did you try restarting again after the force close to try and re-publish them?

guggero avatar Mar 24 '21 15:03 guggero

Yes i did restarting again After that i am in the situation posted above. Is it now forever gone you think? (I knew somehow i did something stupid...)

MykelSIlver avatar Mar 24 '21 15:03 MykelSIlver

You can still do what I initially suggested. Run removechannel on the DB then spend all the balance in the wallet to a new address (lncli newaddress, then lncli sendcoins --addr <the_address_generated> --sweepall). If the balance doesn't appear in your wallet, add reset-wallet-transactions=true to the lnd.conf and restart again.

guggero avatar Mar 24 '21 15:03 guggero

thanks will try that later on. will share results here. thanks

MykelSIlver avatar Mar 24 '21 15:03 MykelSIlver

Just read the instructions of the chantools package. The risk of failure is too high for me. My lightning node contains simply too much funds for this one 500k channel to rescue. Anyway thanks for all the good advice. Also good for other people to know what they can do in a similar situation. Thumbs up.

MykelSIlver avatar Mar 24 '21 16:03 MykelSIlver

You can still do what I initially suggested. Run removechannel on the DB then spend all the balance in the wallet to a new address (lncli newaddress, then lncli sendcoins --addr <the_address_generated> --sweepall). If the balance doesn't appear in your wallet, add reset-wallet-transactions=true to the lnd.conf and restart again.

I took the risk. I just did what you told me and ~500k sats are rescued and no weird pending channels anymore Thank you very very much.! Now this issue is really solved.

MykelSIlver avatar Mar 25 '21 08:03 MykelSIlver

RPCS: [/lnrpc.Lightning/PendingChannels]: unable to find arbitrator Something still wring. No lightning channels balance. In lnd.log I see after restart:

Mar 25 08:27:26 umbrel lnd[714]: 2021-03-25 08:27:26.806 [INF] ATPL: Instantiating autopilot with active=false, max_channels=5, allocation=0.600000, min_chan_size=20000, max_chan_size=16777215, private=false, min_confs=1, conf_target=3
Mar 25 08:27:26 umbrel lnd[714]: 2021-03-25 08:27:26.808 [INF] RPCS: RPC server listening on 0.0.0.0:10009
Mar 25 08:27:26 umbrel lnd[714]: 2021-03-25 08:27:26.821 [INF] RPCS: gRPC proxy started at 0.0.0.0:8080
Mar 25 08:27:26 umbrel lnd[714]: 2021-03-25 08:27:26.967 [INF] LTND: Waiting for chain backend to finish sync, start_height=676207
Mar 25 08:27:28 umbrel lnd[714]: 2021-03-25 08:27:28.514 [INF] LNWL: Started rescan from block 0000000000000000000bff39e6f912e50d933ab77e71e02cfcd9a5131496a1ad (height 666362) for 247 addresses
Mar 25 08:27:28 umbrel lnd[714]: 2021-03-25 08:27:28.817 [ERR] RPCS: [/lnrpc.Lightning/PendingChannels]: unable to find arbitrator
Mar 25 08:27:35 umbrel lnd[714]: 2021-03-25 08:27:35.194 [ERR] RPCS: [/lnrpc.Lightning/PendingChannels]: unable to find arbitrator

I restart several times. Still that message? How bad is it?

MykelSIlver avatar Mar 25 '21 08:03 MykelSIlver

Just wait a bit until the node is fully synced and started up again

guggero avatar Mar 25 '21 08:03 guggero

still_waiting

  1. Wonder how much time this could take? EDIT: Is done!
Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.641 [INF] LNWL: Catching up block hashes to height 670000, this might take a while
Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.670 [INF] LNWL: Done catching up block hashes
Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.670 [INF] LNWL: Rescanned through block 0000000000000000000411ab5253403532ca82aa6cfe164b4261829155a919f4 (height 670000)

  1. Does this have to do with the added reset-wallet-transactions=true in the lnd.conf ?
  2. Do I ever have to remove that reset-wallet-transactions=true in the lnd.conf parameter? In case of an update to a new version of lnd for example? I guess it is a one time effect and thus it can be remove the next time?

MykelSIlver avatar Mar 25 '21 09:03 MykelSIlver

You can now remove the reset-wallet-transactions from the conf. That was only needed once. Is the error gone, now that the wallet has finished rescanning?

guggero avatar Mar 25 '21 11:03 guggero

still_waiting Thank you. It is still rescanning. Do you think this will end soon? I was hopefull after the

Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.641 [INF] LNWL: Catching up block hashes to height 670000, this might take a while
Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.670 [INF] LNWL: Done catching up block hashes
Mar 25 09:47:39 umbrel lnd[714]: 2021-03-25 09:47:39.670 [INF] LNWL: Rescanned through block 0000000000000000000411ab5253403532ca82aa6cfe164b4261829155a919f4 (height 670000)

..but it still in progress.. My question: You think I should wait a bit longer?

Ofc so much thanks for your support....

MykelSIlver avatar Mar 25 '21 11:03 MykelSIlver

just_ended Just ended. Thank you!

MykelSIlver avatar Mar 25 '21 11:03 MykelSIlver

Another bad thing happened. There was a pending_force_close going on of another 12.M sats channel. That channel is not there anymore in the pending_channels. I guess I never should have done this for a very small channel while an other pending force close was going on of a way bigger channel. There lock timer (maturity) was expiring of that channel while the lightning node was offline. Maybe that cause the force_close channel to be gone forever....

MykelSIlver avatar Mar 25 '21 11:03 MykelSIlver