lnd/sweep
Olaoluwa Osuntokun 3d2daeefd8
sweep: remove conflicted sweep txns from the rebroadcaster
In this commit, we an existing gap in our rebroadcast handling logic. As
is, if we're trying to sweep a transaction and a conflicting transaction
is mined (timeout lands on chain, anchor swept), then we'll continue to
try to rebroadcast the tx in the background.

To resolve this, we give the sweeper a new closure function that it can
use to mark conflicted transactions as no longer requiring rebroadcast.
2023-04-21 11:53:08 -07:00
..
backend_mock_test.go sweep: remove conflicted sweep txns from the rebroadcaster 2023-04-21 11:53:08 -07:00
bucket_list.go sweep: do not combine exclusive and non-exclusive inputs 2020-09-16 08:17:36 +02:00
defaults.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
fee_estimator_mock_test.go chainfee: create new chainfee package extracting fees from lnwallet 2019-10-31 16:41:57 -07:00
interface.go sweep: remove conflicted sweep txns from the rebroadcaster 2023-04-21 11:53:08 -07:00
log.go multi: modify sweeper.CreateSweepTx to accept conf target, style changes 2018-10-18 18:08:27 -07:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
store_mock.go sweep: add list sweeps function 2020-05-05 21:10:11 +02:00
store_test.go multi: replace defer cleanup with t.Cleanup 2022-10-13 17:46:54 +08:00
store.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
sweeper_test.go sweep: account for all script types in craftSweepTx 2022-08-08 15:33:00 -04:00
sweeper.go sweep: remove conflicted sweep txns from the rebroadcaster 2023-04-21 11:53:08 -07:00
test_utils.go chainntfns: add new option for conf notifications to send block 2022-08-01 19:59:21 -07:00
tx_input_set_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
tx_input_set.go sweep: change outputs are now P2TR 2022-08-11 17:26:16 -07:00
txgenerator_test.go sweep: account for all script types in craftSweepTx 2022-08-08 15:33:00 -04:00
txgenerator.go sweep: change outputs are now P2TR 2022-08-11 17:26:16 -07:00
walletsweep_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
walletsweep.go multi: add p2tr keyspend wallet support 2022-03-24 18:02:38 +01:00
weight_estimator_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
weight_estimator.go sweep: account for all script types in craftSweepTx 2022-08-08 15:33:00 -04:00