lnd/contractcourt
yyforyongyu b184afe227
sweep: handle missing inputs during fee bumping
This commit handles the case when the input is missing during the RBF
process, which could happen when the bumped tx has inputs being spent by
a third party. Normally we should be able to catch the spend early via
the spending notification and never attempt to fee bump the record.
However, due to the possible race between block notification and spend
notification, this cannot be guaranteed. Thus, we need to handle the
case during the RBF when seeing a `ErrMissingInputs`, which can only
happen when the inputs are spent by others.
2025-02-20 14:40:53 +08:00
..
testdata/rapid/TestHtlcAuxBlobEncodeDecode contractcourt: add HtlcBlobs to taprootBriefcase 2024-11-14 16:09:58 -08:00
anchor_resolver.go sweep: handle missing inputs during fee bumping 2025-02-20 14:40:53 +08:00
breach_arbitrator.go chore: fix typo 2025-01-05 20:45:35 +08:00
breach_arbitrator_test.go contractcourt: remove block subscription in chain arbitrator 2024-12-20 17:54:02 +08:00
breach_resolver.go contractcourt: fix concurrent access to launched 2024-12-20 17:54:06 +08:00
briefcase.go contractcourt: process channel close event on new beat 2024-12-20 17:54:07 +08:00
briefcase_test.go contractcourt: fix concurrent access to resolved 2024-12-20 17:54:06 +08:00
chain_arbitrator.go contractcourt: process channel close event on new beat 2024-12-20 17:54:07 +08:00
chain_arbitrator_test.go multi: start consumers with a starting blockbeat 2024-12-20 17:54:02 +08:00
chain_watcher.go contractcourt: register conf notification once and cancel when confirmed 2024-12-20 17:54:08 +08:00
chain_watcher_test.go contractcourt: handle blockbeat in chainWatcher 2024-12-20 17:54:07 +08:00
channel_arbitrator.go multi: optimize loggings around changes from blockbeat 2024-12-20 17:54:08 +08:00
channel_arbitrator_test.go contractcourt: break launchResolvers into two steps 2024-12-20 17:54:06 +08:00
commit_sweep_resolver.go refactor: replace math.Min and math.Max with built-in min/max 2025-02-06 09:46:40 +08:00
commit_sweep_resolver_test.go contractcourt: add Launch method to commit resolver 2024-12-20 17:54:05 +08:00
config.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
config_test.go contractcourt: specify deadline and budget for commit sweep 2024-04-19 21:33:33 +08:00
contract_resolver.go contractcourt: break launchResolvers into two steps 2024-12-20 17:54:06 +08:00
htlc_incoming_contest_resolver.go contractcourt: include custom records on replayed htlc 2024-12-20 17:54:13 +08:00
htlc_incoming_contest_resolver_test.go contractcourt: add Launch method to incoming contest resolver 2024-12-20 17:54:05 +08:00
htlc_lease_resolver.go refactor: replace math.Min and math.Max with built-in min/max 2025-02-06 09:46:40 +08:00
htlc_outgoing_contest_resolver.go multi: optimize loggings around changes from blockbeat 2024-12-20 17:54:08 +08:00
htlc_outgoing_contest_resolver_test.go contractcourt: add Launch method to outgoing contest resolver 2024-12-20 17:54:05 +08:00
htlc_success_resolver.go contractcourt: fix concurrent access to launched 2024-12-20 17:54:06 +08:00
htlc_success_resolver_test.go contractcourt: break launchResolvers into two steps 2024-12-20 17:54:06 +08:00
htlc_timeout_resolver.go Merge pull request #9274 from ziggie1984/remove-2x-value 2025-01-13 19:09:11 +02:00
htlc_timeout_resolver_test.go contractcourt: fix concurrent access to resolved 2024-12-20 17:54:06 +08:00
interfaces.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
mock_htlcnotifier_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
mock_registry_test.go invoices: exit early when the subscriber chan is nil 2024-12-20 17:54:05 +08:00
nursery_store.go contractcourt: use graphdb outpoint helpers 2024-11-28 13:34:08 +02:00
nursery_store_test.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
taproot_briefcase.go contractcourt: add HtlcBlobs to taprootBriefcase 2024-11-14 16:09:58 -08:00
taproot_briefcase_test.go contractcourt: add rapid derived fuzz test for HtlcAuxBlob 2024-12-12 16:57:58 +01:00
utils_test.go multi: rename chan DB Open method to OpenForTesting 2024-11-28 13:51:15 +02:00
utxonursery.go multi: improve loggings 2024-12-20 17:54:03 +08:00
utxonursery_test.go multi: update to fn v2 2024-12-04 13:19:00 -07:00