lnd/sweep
yyforyongyu 11f7e455d1
lnwallet+sweep: introduce TxPublisher to handle fee bump
This commit adds `TxPublisher` which implements `Bumper` interface. This
is part one of the implementation that focuses on implementing the
`Broadcast` method which guarantees a tx can be published with
RBF-compliant. It does so by leveraging the `testmempoolaccept` API,
keep increasing the fee rate until an RBF-compliant tx is made and
broadcasts it.

This tx will then be monitored by the `TxPublisher` and in the following
commit, the monitoring process will be added.
2024-04-19 21:33:29 +08:00
..
aggregator_test.go sweep: introduce BudgetAggregator to cluster inputs by deadlines 2024-04-19 21:33:27 +08:00
aggregator.go sweep: introduce BudgetAggregator to cluster inputs by deadlines 2024-04-19 21:33:27 +08:00
bucket_list.go sweep: do not combine exclusive and non-exclusive inputs 2020-09-16 08:17:36 +02:00
defaults.go multi: deprecate batchwindowduration config option 2024-04-19 21:33:26 +08:00
fee_bumper_test.go lnwallet+sweep: introduce TxPublisher to handle fee bump 2024-04-19 21:33:29 +08:00
fee_bumper.go lnwallet+sweep: introduce TxPublisher to handle fee bump 2024-04-19 21:33:29 +08:00
fee_function_test.go sweep: add FeeFunction interface and a linear implementation 2024-04-19 21:33:28 +08:00
fee_function.go sweep: add FeeFunction interface and a linear implementation 2024-04-19 21:33:28 +08:00
interface.go lnwallet+sweep: add new method CheckMempoolAcceptance 2024-04-19 21:33:28 +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 lnwallet+sweep: introduce TxPublisher to handle fee bump 2024-04-19 21:33:29 +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: remove RBF related tests 2024-04-19 21:33:28 +08:00
sweeper.go sweep: introduce Bumper interface to handle RBF 2024-04-19 21:33:27 +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: introduce BudgetInputSet to manage budget-based inputs 2024-04-19 21:33:27 +08:00
tx_input_set.go sweep: remove FeeRate() from InputSet interface 2024-04-19 21:33:28 +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 lnwallet+sweep: introduce TxPublisher to handle fee bump 2024-04-19 21:33:29 +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 multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00
weight_estimator.go multi: make sure CPFP won't exceed max allowed fee rate 2023-10-06 16:34:47 -07:00