lnd/sweep
yyforyongyu a50cdd64c5
sweep: assign deadline values to inputs in handleNewInput
This commit changes how we transform from a deadline option to a
concrete deadline value - previously this is done when we decide to
cluster inputs, and we now move it to a step earlier - once an input is
received via `SweeperInput`, we will immediately transform its optional
deadline into a real value. For inputs that come with a deadline option,
since the Some will be used, it makes no difference. For inputs with
None as their deadlines, we need this change to make sure the default
deadlines are assigned accurately.
2024-04-19 21:33:39 +08:00
..
aggregator_test.go sweep: assign deadline values to inputs in handleNewInput 2024-04-19 21:33:39 +08:00
aggregator.go sweep: assign deadline values to inputs in handleNewInput 2024-04-19 21:33:39 +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: catch third party spent in fee bumper for neutrino 2024-04-19 21:33:37 +08:00
fee_bumper.go walletrpc+sweep: refactor BumpFee to properly handle sweep request 2024-04-19 21:33:38 +08:00
fee_function_test.go sweep: allow specifying starting fee rate for fee func 2024-04-19 21:33:37 +08:00
fee_function.go sweep: allow specifying starting fee rate for fee func 2024-04-19 21:33:37 +08:00
interface.go sweep: catch third party spent in fee bumper for neutrino 2024-04-19 21:33:37 +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: assign deadline values to inputs in handleNewInput 2024-04-19 21:33:39 +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: assign deadline values to inputs in handleNewInput 2024-04-19 21:33:39 +08:00
sweeper.go sweep: assign deadline values to inputs in handleNewInput 2024-04-19 21:33:39 +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: apply fn.NewSet and fn.Map in validateInputs 2024-04-19 21:33:33 +08:00
tx_input_set.go sweep: allow specifying starting fee rate for fee func 2024-04-19 21:33:37 +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