lnd/sweep
yyforyongyu 5fce91caf9
chainntnfs+sweep: add LookupInputMempoolSpend and use it in the
sweeper

This commit implements a new method, `LookupInputMempoolSpend` to do
lookups in the mempool. This method is useful in the case when we only
want to know whether an input is already been spent in the mempool by
the time we call.
2024-04-19 21:33:24 +08:00
..
aggregator.go sweep+lnd: introduce UtxoAggregator to handle clustering inputs 2024-04-19 21:33:21 +08:00
aggregator_test.go sweep+lnd: introduce UtxoAggregator to handle clustering inputs 2024-04-19 21:33:21 +08: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 sweep+itest: change MaxFeeRate to use SatPerVbyte 2023-10-06 16:34:47 -07:00
fee_estimator_mock_test.go multi: merge DetermineFeePerKw and Estimate 2024-04-19 21:33:21 +08: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
mocks.go sweep+lnd: introduce UtxoAggregator to handle clustering inputs 2024-04-19 21:33:21 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
store.go sweep: add new methods GetTx and DeleteTx to manage TxRecord 2024-04-19 21:33:20 +08:00
store_mock.go sweep: use testify/mock for MockSweeperStore 2024-04-19 21:33:20 +08:00
store_test.go sweep: use testify/mock for MockSweeperStore 2024-04-19 21:33:20 +08:00
sweeper.go chainntnfs+sweep: add LookupInputMempoolSpend and use it in the 2024-04-19 21:33:24 +08:00
sweeper_test.go chainntnfs+sweep: add LookupInputMempoolSpend and use it in the 2024-04-19 21:33:24 +08:00
test_utils.go sweep: delete pending inputs based on their states 2024-04-19 21:33:22 +08:00
tx_input_set.go sweep: use p2tr output as change weight 2023-12-14 12:15:34 -05:00
tx_input_set_test.go sweep: use p2tr output as change weight 2023-12-14 12:15:34 -05:00
txgenerator.go sweep: return fees from method createSweepTx 2024-04-19 21:33:19 +08:00
txgenerator_test.go multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00
walletsweep.go sweep+lnrpc: add new interface FeePreference 2024-04-19 21:33:21 +08:00
walletsweep_test.go multi: rename FeePreference to FeeEstimateInfo 2024-04-19 21:33:21 +08:00
weight_estimator.go multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00
weight_estimator_test.go multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00