lnd/sweep
yyforyongyu 1530fee9b3
sweep: add new inteface InputSet to manage inputs in a tx
Previously the fee rate is tracked at cluster level, which may not be
accurate as each cluster is then divided into input sets. And these sets
are what's actually included in the final sweeping tx. To properly
reflect the final fee rate used in the sweeping tx, `InputSet` is added
so more customized clustering logic can be implemented in the future.
For intance, atm it's clustered by fee rates, while we may also cluster
by deadlines, urgencies, etc.
2024-04-19 21:33:25 +08:00
..
aggregator_test.go sweep+lnd: introduce UtxoAggregator to handle clustering inputs 2024-04-19 21:33:21 +08:00
aggregator.go sweep: add new inteface InputSet to manage inputs in a tx 2024-04-19 21:33:25 +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: add new interface Cluster to manage grouping inputs 2024-04-19 21:33:25 +08:00
setup_test.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02: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
store.go sweep: add new methods GetTx and DeleteTx to manage TxRecord 2024-04-19 21:33:20 +08:00
sweeper_test.go sweep: add new interface Cluster to manage grouping inputs 2024-04-19 21:33:25 +08:00
sweeper.go sweep: add new inteface InputSet to manage inputs in a tx 2024-04-19 21:33:25 +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: use p2tr output as change weight 2023-12-14 12:15:34 -05:00
tx_input_set.go sweep: add new inteface InputSet to manage inputs in a tx 2024-04-19 21:33:25 +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 sweep: add new inteface InputSet to manage inputs in a tx 2024-04-19 21:33:25 +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