lnd/sweep
yyforyongyu 4c13ea1747
sweep: pass default deadline height when clustering inputs
This commit changes the method `ClusterInputs` to also take a default
deadline height. Previously, when calculating the default deadline
height for a non-time sensitive input, we would first cluster it with
other non-time sensitive inputs, then give it a deadline before we are
about to `sweep`. This is now moved to the step where we decide to
cluster inputs, allowing time-sensitive and non-sensitive inputs to be
grouped together, if they happen to share the same deadline heights.
2024-04-19 21:33:32 +08:00
..
aggregator_test.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
aggregator.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
bucket_list.go multi: make input.OutPoint return wire.OutPoint 2024-04-19 21:33:32 +08:00
defaults.go multi: deprecate batchwindowduration config option 2024-04-19 21:33:26 +08:00
fee_bumper_test.go sweep: add a dedicated method to create sweeping txns 2024-04-19 21:33:32 +08:00
fee_bumper.go multi: make input.OutPoint return wire.OutPoint 2024-04-19 21:33:32 +08:00
fee_function_test.go lnwallet+sweep: cap conf target used in fee estimator 2024-04-19 21:33:31 +08:00
fee_function.go lnwallet+sweep: cap conf target used in fee estimator 2024-04-19 21:33:31 +08:00
interface.go sweep: add monitor loop to TxPublisher 2024-04-19 21:33:29 +08:00
log.go multi: modify sweeper.CreateSweepTx to accept conf target, style changes 2018-10-18 18:08:27 -07:00
mock_test.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00
store_test.go sweep: use testify/mock for MockSweeperStore 2024-04-19 21:33:20 +08:00
store.go sweep: add new methods GetTx and DeleteTx to manage TxRecord 2024-04-19 21:33:20 +08:00
sweeper_test.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
sweeper.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
test_utils.go sweep: make sweeper block-driven instead of time-driven 2024-04-19 21:33:24 +08:00
tx_input_set_test.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
tx_input_set.go sweep: pass default deadline height when clustering inputs 2024-04-19 21:33:32 +08:00
txgenerator_test.go multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00
txgenerator.go multi: make input.OutPoint return wire.OutPoint 2024-04-19 21:33:32 +08:00
walletsweep_test.go multi: rename FeePreference to FeeEstimateInfo 2024-04-19 21:33:21 +08:00
walletsweep.go sweep+lnrpc: add new interface FeePreference 2024-04-19 21:33:21 +08:00
weight_estimator_test.go sweep: rename fee() to feeWithParent() for clarity 2024-04-19 21:33:31 +08:00
weight_estimator.go sweep: add a dedicated method to create sweeping txns 2024-04-19 21:33:32 +08:00