lnd/docs
Olaoluwa Osuntokun de54a603b7
lnwallet+contractcourt: gracefully handle auto force close post data loss
In this commit, update the start up logic to gracefully handle a
seemingly rare case. In this case, a peer detects local data loss with a
set of active HTLCs. These HTLCs then eventually expire (they may or may
not actually "exist"), causing a force close decision. Before this PR,
this attempt would fail with a fatal error that can impede start up.

To better handle such a scenario, we'll now catch the error when we fail
to force close due to entering the DLP and instead terminate the state
machine at the broadcast state. When a commitment transaction eventually
confirms, we'll play it as normal.

Fixes https://github.com/lightningnetwork/lnd/issues/7984
2023-09-15 18:29:09 -07:00
..
grpc docs/grpc/java.md: use /Users/<username>/.. 2023-07-14 16:44:28 -04:00
release-notes lnwallet+contractcourt: gracefully handle auto force close post data loss 2023-09-15 18:29:09 -07:00
rest multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
code_contribution_guidelines.md multi: move itest out of lntest 2023-02-23 21:56:08 +08:00
code_formatting_rules.md doc: vim visual ruler at column 80 2022-09-27 09:45:55 -04:00
configuring_tor.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
debugging_lnd.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
DOCKER.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
etcd.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
fuzz.md make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
INSTALL.md docs/INSTALL.md: use /Users/<username>/.. 2023-07-14 16:41:52 -04:00
key_import.md Docs: fix language ambiguity in key import [skip ci] 2021-11-09 11:49:50 -05:00
leader_election.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
macaroons.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
MAKEFILE.md docs: Documentation of sample-conf-check in MAKEFILE.md 2023-08-03 18:04:25 +02:00
musig2.md multi: move itest out of lntest 2023-02-23 21:56:08 +08:00
nat_traversal.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
postgres.md docs: add notes on contents of Postgres DB as Key-Value store to Postgres.md 2023-02-28 21:36:24 -07:00
psbt.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
recovery.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
release.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
remote-signing.md docs: update remote signing docs 2023-04-11 20:44:01 +02:00
ruby-thing.rb docs: update contribution guidelines to add section on commit structure 2018-12-18 20:59:46 -08:00
safety.md docs: Add documentation for the TLS key encryption flag 2023-01-26 13:32:12 -06:00
sqlite.md docs: add sqlite instructions 2023-01-25 14:16:56 +02:00
wallet.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
watchtower.md scripted-diff: replace ⛰ emoji with $ [skip ci] 2022-10-28 12:06:49 -04:00
zero_conf_channels.md docs: add documentation for zero-conf channels 2022-08-10 14:25:11 -04:00