lnd/docs
Yong 939375f1a5
sweeper: relax anchor sweeping when there's no deadline pressure (#7965)
* sweep: use longer variable name for clarity in `addToState`

* sweeper: add more docs and debug logs

* sweep: prioritize smaller inputs when adding wallet UTXOs

This commit sorts wallet UTXOs by their values when using them for
sweeping inputs. This way we'd avoid locking large UTXOs when sweeping
inputs and also provide an opportunity to aggregate wallet UTXOs.

* contractcourt+itest: relax anchor sweeping for CPFP purpose

This commit changes from always sweeping anchor for a local force close
to only do so when there is an actual time pressure. After this change,
a forced anchor sweeping will only be attempted when the deadline is
less than 144 blocks.

* docs: update release notes

* itest: update test `testMultiHopHtlcLocalChainClaim` to skip CPFP

Since we now only perform CPFP when both the fee rate is higher and the
deadline is less than 144, we need to update the test to reflect that
Bob will not CPFP the force close tx for the channle Alice->Bob.

* itest: fix `testMultiHopRemoteForceCloseOnChainHtlcTimeout`

* itest: update related tests to reflect anchor sweeping

This commit updates all related tests to reflect the latest anchor
sweeping behavior. Previously, anchor sweeping is always attempted as
CPFP when a force close is broadcast, while now it only happens when the
deadline is less than 144. For non-CPFP purpose sweeping, it will happen
after one block is mined after the force close transaction is confirmed
as the anchor will be resent to the sweeper with a floor fee rate, hence
making it economical to sweep.
2023-10-12 17:18:59 +02:00
..
grpc docs: add instructions to generate type hints (#8025) 2023-10-06 16:47:17 +02:00
release-notes sweeper: relax anchor sweeping when there's no deadline pressure (#7965) 2023-10-12 17:18:59 +02: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: remove Litecoin references from INSTALL.md file 2023-10-06 16:34:47 -07: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