lnd/contractcourt
Olaoluwa Osuntokun 903c8fc076
contractcourt: use the sweeper for HTLC offered remote timeout resolution
In this commit, we bring the timeout resolver more in line with the
success resolver by using the sweeper to handle the HTLC offered remote
timeout outputs. These are outputs that we can sweep directly from the
remote party's commitment transaction when they broadcast their version
of the commitment transaction.

With this change, we slim down the scope slightly by only doing this for
anchor channels. Non-anchor channels will continue to use the
utxonursery for this output type for now.
2024-09-12 18:13:44 -07:00
..
anchor_resolver.go sweep: remove unused param Fee 2024-04-23 04:44:00 +08:00
breach_arbitrator_test.go multi: thread thru the AuxLeafStore everywhere 2024-08-28 13:26:14 +02:00
breach_arbitrator.go multi: add SpewLogClosure to avoid code repetition 2024-07-25 22:18:49 +08:00
breach_resolver.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
briefcase_test.go contractcourt+sweep: offer direct-preimage spend via SweepInput 2024-04-19 21:33:35 +08:00
briefcase.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
chain_arbitrator_test.go multi: refactor select methods within channeldb to use ChannelParty 2024-07-31 14:50:26 -07:00
chain_arbitrator.go multi: thread thru the AuxLeafStore everywhere 2024-08-28 13:26:14 +02:00
chain_watcher_test.go lnwallet+htlcswitch: add NewCommitState struct, modify send/recv sig to accept 2023-08-22 16:31:18 -07:00
chain_watcher.go lnwallet: thread thru input.AuxTapleaf to all relevant areas 2024-08-28 13:28:48 +02:00
channel_arbitrator_test.go multi: refactor select methods within channeldb to use ChannelParty 2024-07-31 14:50:26 -07:00
channel_arbitrator.go multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
commit_sweep_resolver_test.go sweep: remove unused param Fee 2024-04-23 04:44:00 +08:00
commit_sweep_resolver.go contractcourt: Fix heuristic for identifying STC commit broadcaster. 2024-07-17 14:57:28 -07:00
config_test.go contractcourt: specify deadline and budget for commit sweep 2024-04-19 21:33:33 +08:00
config.go contractcourt: specify deadline and budget for commit sweep 2024-04-19 21:33:33 +08:00
contract_resolver.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
htlc_incoming_contest_resolver_test.go multi: return route role from HopPayload 2024-04-25 09:46:31 -04:00
htlc_incoming_contest_resolver.go multi: return route role from HopPayload 2024-04-25 09:46:31 -04:00
htlc_lease_resolver.go contractcourt: unify the lease specific HTLC sweeping logic 2022-06-01 16:42:33 -07:00
htlc_outgoing_contest_resolver_test.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
htlc_outgoing_contest_resolver.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
htlc_success_resolver_test.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
htlc_success_resolver.go contractcourt: make sure sweep happens immediately on startup 2024-04-19 21:33:39 +08:00
htlc_timeout_resolver_test.go contractcourt: use the sweeper for HTLC offered remote timeout resolution 2024-09-12 18:13:44 -07:00
htlc_timeout_resolver.go contractcourt: use the sweeper for HTLC offered remote timeout resolution 2024-09-12 18:13:44 -07:00
interfaces.go sweep+contractcourt: replace ParamsUpdate with Params 2024-04-19 21:33:38 +08:00
log.go multi: add NewLogClosure in lnutils to avoid repetition 2024-07-25 21:25:23 +08:00
mock_htlcnotifier_test.go multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
mock_registry_test.go multi: extend InvoiceDB methods with a context argument (#8066) 2023-10-11 13:42:59 +02:00
nursery_store_test.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
nursery_store.go Merge pull request #8658 from hidewrong/master 2024-04-24 10:56:20 -06:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
taproot_briefcase_test.go contractcourt: fix test flake in TestTaprootBriefcase 2023-09-05 07:44:02 +08:00
taproot_briefcase.go multi: fix linter warnings with updated linter 2023-08-22 16:34:47 -07:00
utils_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
utxonursery_test.go contractcourt: specify deadline and budget for nursery 2024-04-19 21:33:34 +08:00
utxonursery.go multi: add SpewLogClosure to avoid code repetition 2024-07-25 22:18:49 +08:00