mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
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. |
||
---|---|---|
.. | ||
backend_mock_test.go | ||
bucket_list.go | ||
defaults.go | ||
defaults_rpctest.go | ||
fee_estimator_mock_test.go | ||
interface.go | ||
log.go | ||
store.go | ||
store_mock.go | ||
store_test.go | ||
sweeper.go | ||
sweeper_test.go | ||
test_utils.go | ||
tx_input_set.go | ||
tx_input_set_test.go | ||
txgenerator.go | ||
txgenerator_test.go | ||
walletsweep.go | ||
walletsweep_test.go | ||
weight_estimator.go | ||
weight_estimator_test.go |