lnd/sweep
Wilmer Paulino e1c269c7ed
sweep: remove previous exclusive group upon re-offered inputs
This aims to cover an edge case and also serves as an optimization of
what happens when an input that was offered to the Sweeper with an
exclusive group is re-offered without one. This happens every time we
attempt to sweep the different possible anchors of a channel at the time
of broadcast, as we don't know which commitment transaction will end up
confirming in the chain. Once the commitment transaction confirms
however, we know which anchor output to act upon and re-offer it to the
Sweeper without an exclusive group. At this point, the Sweeper will
continue to attempt sweeping the other anchor output versions even know
we know they are not valid.
2021-10-19 18:30:40 -07:00
..
backend_mock_test.go refactor: use camel case for minConfs 2021-04-22 20:35:00 +02: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 golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
defaults_rpctest.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07: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 refactor: use camel case for minConfs 2021-04-22 20:35:00 +02:00
log.go multi: modify sweeper.CreateSweepTx to accept conf target, style changes 2018-10-18 18:08:27 -07:00
store.go kvdb: move channeldb/kvdb to top level 2021-05-07 14:18:56 +02:00
store_mock.go sweep: add list sweeps function 2020-05-05 21:10:11 +02:00
store_test.go sweep: use channeldb.MakeTestDB 2020-07-28 17:57:30 +02:00
sweeper.go sweep: remove previous exclusive group upon re-offered inputs 2021-10-19 18:30:40 -07:00
sweeper_test.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
test_utils.go sweep: make sweeper aware of unconfirmed parent transactions. 2020-09-17 12:30:39 +02:00
tx_input_set.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
tx_input_set_test.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
txgenerator.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
txgenerator_test.go input/size: split constants into confirmed/non-confirmed 2021-03-05 10:58:42 +01:00
walletsweep.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
walletsweep_test.go multi: replace DefaultDustLimit with script-specific DustLimitForSize 2021-09-29 13:33:10 -04:00
weight_estimator.go sweep/tx_input_set: account for required outputs in input set 2020-11-20 13:06:54 +01:00
weight_estimator_test.go input+sweep: let weightestimator take known TxOut 2020-11-20 13:06:53 +01:00